#13909 closed defect (fixed)

ANDROID: Razer Kishi mobile gamepad not detecting most button inputs in keymapping

Reported by: KatSuYeah Owned by: ccawley2011
Priority: normal Component: Port: Android
Version: Keywords: gamepad, keymapping
Cc: Game:

Description

Most inputs using Razer Kishi are not detected in keymapping.
The only keys that map are A (maps as left click) B (maps as right click) and X (maps as ESC). Left/Right joysticks and the dpad aren't detected in mapping, but they default to the cursor. Y can't be mapped, but always brings up the ScummVM menu to save, load, quit, etc. The Kishi is built exactly like an Xbox one controller only built for phones, if that helps. This applies to all games.

Attachments (1)

gamepad.patch (1.7 KB ) - added by rudism 18 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 by antoniou79, 18 months ago

Summary: Razer Kishi mobile gamepad not detecting most button inputs in keymappingANDROID: Razer Kishi mobile gamepad not detecting most button inputs in keymapping

comment:2 by rudism, 18 months ago

I am experiencing the exact same behavior with ScummVM 2.6.1 installed on a Logitech G Cloud. Only A, B, and X are detected as inputs in the button mapper; both joysticks and d-pad control the cursor and are not detected in the button mapper; Y brings up the ScummVM menu and is not detected in the button mapper; shoulders, triggers, clicking the joysticks, and the special G-button all do nothing and are not detected in the button mapper.

Makes playing any game difficult since all you get is cursor movement and 3 mappable buttons.

by rudism, 18 months ago

Attachment: gamepad.patch added

comment:3 by rudism, 18 months ago

I've attached a patch that I'm using to change how my buttons are being detected so that I can use more of them in ScummVM. My triggers still don't work--I think because they're analog on my device so fire motion events instead of key events; figuring out how to fix that might be a bit more effort than I can give it right now.

comment:4 by KatSuYeah, 17 months ago

great, can you tell me how to apply it on the android version?

comment:5 by rudism, 17 months ago

I've made some improvements and opened a PR here https://github.com/scummvm/scummvm/pull/4414 so hopefully it makes it into the official builds. Until then the only way is to build it yourself from my branch.

https://wiki.scummvm.org/index.php/Compiling_ScummVM/Android

comment:6 by KatSuYeah, 17 months ago

i don't have a pc, so I can't apply the patch. I also hope it makes it into official builds.

comment:7 by lephilousophe, 13 months ago

Owner: set to ccawley2011
Resolution: fixed
Status: newclosed

PR was merged

Note: See TracTickets for help on using tickets.