Pikeyd and ES controller configuration
-
Hello I have an old cabinet that I converted to jamma. I am using raspberry pi 3b+ with retropie crt edition evo 3.3 and a Pi2jamma hat. When you set Pi2jamma in connection a pikeyd conf is created in etc/ … so this should be the only configuration for controls . So how do you skip the initial request of ES to add controls ? Do you have to skip all the buttons by long pressing or skip entirely with f4 ? Because I think if you skip with f4 then it will ask again to configure controls while if you skip every button it will write a keyboard configuration with no button mapped.
The conf file looks like this:
#pikeyd165.conf
#FORMAT:
{keycode from /usr/include/linux/input.h} {GPIO pin no}
Not limited to a single key. A GPIO press will emit all defined keys in order.
#P = Player; B = Button; Y/X/L/R/A/B = Joy Button
P1B3 Y
KEY_SPACE 0
P1B4 X
KEY_LEFTSHIFT 1
P1B5 L
KEY_Z 2
P1B6 R
KEY_X 3
P2B5
KEY_I 4
P2B6
KEY_K 5
P2B4
KEY_W 6
P2B3
KEY_Q 7
P1Left
KEY_LEFT 8
P1Right
KEY_RIGHT 9
P1B1 B
KEY_LEFTCTRL 10
P1B2 A
KEY_LEFTALT 11
P2B2
KEY_S 12
P2B1
KEY_A 13
P2Right
KEY_G 14
P2Left
KEY_D 15
P1Coin
KEY_5 16
P1Start
KEY_1 17
P1Up
KEY_UP 18
P1Down
KEY_DOWN 19
P2Down
KEY_F 20
P2Up
KEY_R 21
P2Start
KEY_2 22
P2Coin
KEY_6 23
special keys! bits pressed simultaniousley result in specified Key
#maximum bits == 4
Quit Emulator / Game
P1Start P1B1
KEY_ESC 17 10
Service Menu retroarch
P1Start P1B2
KEY_F1 17 11
Settings Mame4all, Advmame, MAME Retroarch
P1Start P1B4
KEY_TAB 17 1
Service Menu AdvMame, Mame4all
P1Start P2Start P1B2
#KEY_F2 17 22 11
Coin Player 2
P2Start P1Up
KEY_6 22 18
P2Start P2Up
KEY_6 22 21
Coin Player 1
P1Start P1Up
KEY_5 17 18
Menu C64, filter advmame
P1Start P2Start P1B4
#KEY_F12 17 22 1
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.