recalbox / mk_arcade_joystick_rpi

Raspberry PI kernel module for arcade joystick on GPIO and MCP23017

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hotkey input

BrainSlugs83 opened this issue · comments

commented

Where pinx is the number of the gpio you want. There are 12 posible gpio with button order: Y-,Y+,X-,X+,start,select,a,b,tr,y,x,tl. Use -1 for unused pins. For example gpio=21,13,26,19,-1,-1,22,24,-1,-1,-1,-1 uses gpios 21,13,26,19 for axis and gpios 22 and 24 for A and B buttons, the rest of buttons are unused.

Just looking through the readme.md on the main archive it sounds like even with a custom map (and only a single player) you can still only map 12 total buttons -- so there is no room for configuring a separate hotkey (e.g. a 13th button).

I understand that the default is to configure select to be the hotkey, but that can be VERY annoying in some games, so many folks prefer to configure a separate one (on other controllers I usually setup the Xbox Jewel button, or the Star button on an 8Bitdo, etc.).

If this is a low priority, if someone could give me some guidance on this I could take a crack at it myself.

Thanks,
--Mikey