Kodi Community Forum

Full Version: Rumblepad2 Right Analog Stick Up/Down not working - crashing kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there, I got my Logitech Rumblepad2 gamepad working pretty well, edited some settings in the xml for it.

But one setting that doesn't affect the gamepad is the "axis id=4" entries, I assume this is the number for the Right Analog Stick up & down movements.
No matter what setting I use in the xml, including "noop", or having deleted the xml - when I push the Right Analog Stick up or down during playback, it sort of makes the video stutter and if I keep pressing it Kodi crashes. This is really annoying as every time my gamepad takes a tumble in the couch and the right analog stick is hit, it makes Kodi crash. (Pushing the Right Analog Stick to the left or right is to seek in the video, like using the Mouse Scroll)

I was wondering, since I use Joytokey in windows (the error happens with joytokey on or off) I was wondering, because the default setup for joytokey doesn't include the right analog stick up/down axis, you have to change an option to Showallaxes to enable the up/down axis. Is this related to why it won't work or can't be configured in Kodi?

here's my log entry for when the gamepad is detected:
15:07:35 T:6264 NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: Logitech RumblePad 2 USB
15:07:35 T:6264 NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 4 Total Hats: 1 Total Buttons: 12

This is the log entry for when I'm playing a video and I move the right analog stick and kodi crashes:
15:22:02 T:6264 NOTICE: DVDPlayer: Opening: D:\New\izombie.103.hdtv-lol.mp4
15:22:02 T:4768 NOTICE: script.lazytv : 777.779000 :: 0.002000 ::: - notification!
15:22:02 T:6264 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
15:22:02 T:5620 NOTICE: Thread DVDPlayer start, auto delete: false
15:22:02 T:5620 NOTICE: Creating InputStream
15:22:02 T:5620 NOTICE: Creating Demuxer
15:22:02 T:5620 NOTICE: Opening stream: 0 source: 256
15:22:02 T:5620 NOTICE: Creating video codec with codec id: 28
15:22:02 T:5620 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
15:22:02 T:5620 NOTICE: Creating video thread
15:22:02 T:5620 NOTICE: Opening stream: 1 source: 256
15:22:02 T:6708 NOTICE: Thread DVDPlayerVideo start, auto delete: false
15:22:02 T:5620 NOTICE: Finding audio codec for: 86018
15:22:02 T:6708 NOTICE: running thread: video_thread
15:22:02 T:5620 NOTICE: Creating audio thread
15:22:02 T:6952 NOTICE: Thread DVDPlayerAudio start, auto delete: false
15:22:02 T:6952 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
15:22:02 T:6708 NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating DXVA(720x404)
15:22:02 T:6952 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
15:22:02 T:6708 NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating DXVA(720x404)
15:22:02 T:6500 NOTICE: 1Channel: Service: Playback started
15:22:02 T:6708 NOTICE: DXVA::CDecoder::Close - closing decoder
15:22:02 T:6708 NOTICE: fps: 23.976024, pwidth: 720, pheight: 404, dwidth: 720, dheight: 404
15:22:03 T:6708 NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)
15:22:03 T:3796 ERROR: CAESinkWASAPI::InitializeExclusive: IsFormatSupported failed (AUDCLNT_E_UNSUPPORTED_FORMAT) - trying to find a compatible format
15:22:03 T:6708 NOTICE: D3D: rendering method forced to DXVA processor
15:22:03 T:6264 WARNING: CWinRenderer::UpdateVideoFilter - chosen scaling method 1 is not supported by renderer
15:22:03 T:5472 NOTICE: Stream All The Sources: Service: Playback started
15:22:03 T:4768 NOTICE: script.lazytv : 778.776000 :: 0.997000 ::: - Playbackstarted
15:22:03 T:4768 NOTICE: script.lazytv : 0.490000 :: 0.490000 ::: - this is playing = {u'item': {u'tvshowid': -1, u'episode': -1, u'resume': {u'position': 1864, u'total': 2552}, u'season': -1, u'label': u'izombie.103.hdtv-lol.mp4', u'playcount': 0, u'type': u'unknown', u'showtitle': u''}}
15:22:03 T:4768 NOTICE: script.lazytv : 0.493000 :: 0.003000 ::: prevcheck - False
15:22:03 T:4768 NOTICE: script.lazytv : 0.495000 :: 0.002000 ::: - LazyPlayer supplied showid = False
15:22:03 T:4768 NOTICE: script.lazytv : 0.497000 :: 0.002000 ::: - LazyPlayer supplied epid = False
15:22:03 T:4768 NOTICE: script.lazytv : 0.535000 :: 0.038000 ::: - Playbackstarted_End
15:22:03 T:4768 NOTICE: script.lazytv : 0.537000 :: 0.002000 ::: - notification!
15:22:06 T:6708 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
15:22:06 T:6264 WARNING: Previous line repeats 1 times.
15:22:06 T:6264 ERROR: CApplication::FrameMove(), too many exceptions
15:22:06 T:6708 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer

Thanks in advance for any help you can offer

I can use joytokey and disable the gamepad support in kodi as an alternative, but that means a somewhat alternative and less practical button setup and really I should be able to get this work

(edited for clarity)