The Regamebox Distribution grows and grows, so time to explain the game controller features in detail.
Pi2jamma Controls
Regamebox is made for pi2jamma hardware and other ArcadeForge Strike Device. So the first Game Controller Interface is the Pi2jamma Interface. It is made with Shift Registers and the pikeyd165 driver must be active. Find the configuration file for pikeyd165 driver in folder /etc/pikeyd165.conf
This is the key mapping
For all emulators a common key layout is used
Player 1 Start + Player 1 Button 1 = ESC (Quit Game)
Player 1 Start + Player 1 Up = Coin
Player 1 Up = Arrow Up
Player 1 Down = Arrow Down
Player 1 Left = Arrow Left
Player 1 Right = Arrow Right
Player 1 Button 1 = LEFT CTRL
Player 1 Button 2 = LEFT ALT
Player 1 Button 3 = SPACE
Player 1 Button 4 = LEFT SHIFT
Player 1 Button 5 = Z
Player 1 Button 6 = X
Player 1 Start = 1
Player 1 Coin = 5
Player 2 Up = R
Player 2 Down = F
Player 2 Left = D
Player 2 Right = G
Player 2 Button 1 = A
Player 2 Button 2 = S
Player 2 Button 3 = Q
Player 2 Button 4 = W
Player 2 Button 5 = I
Player 2 Button 6 = K
Player 2 Start = 2
If you want to go in the retroarch menu interface, then connect a keyboard F1 and use Arrow Keys, Backspace and Return for navigating.
Use in Lemonlauncher
– Up / Down to navigate list
– Button 1 to activate item
– Button 2 get back
– Left / Right jump page wise in list
– Button 3 + Up / Down jump alphabetical wise in list
USB Gamecontroller
Ok, now you have a Pi2scart and want to use USB Gamecontroller. First you have to turn the pikeyd165 driver off. In version regamebox v2.3 is doing this for you. It has a automatic detection, to turn of pikeyd165 driver if no pi2jamma is connected. Take a look at parameter pi2scart=”A” in config file /boot/regamebox.conf or on USB Stick folder. On other distribution, check how pikeyd165 can be turned off.
USB Keyboard as Gamecontroller
Just leave it as it is. If no usb gamepad is connected it works as keyboard with above key setting.
USB Gamepad as Gamecontroller
Goto Options – Gamecontroller – Configure Gamecontroller
For configuration a keyboard is needed.
For retroarch the automatic gamecontrollers are installed. So your gamecontroller should be recognized automatically by retroarch or its not supported.
Here is a example for the most used snes usb gamepad
SNES USB Gamepad in Lemonlauncher FrontEnd
– Up / Down to navigate list
– Button B to activate item
– Button A get back
– Left / Right jump page wise in list
– Shoulder Buttons jump alphabetical wise in list
Following gamepad mapping is configured for retroarch
HotKey = Select
Press the hotkey Select with one of the following buttons, to execute the underlying function
Select + Y = Retroarch Menu
Select + Start = Exit Game
In retroarch menu
Up, Down, Right, Left = Navigate Menu
A = Activate item
B = Back
Retroarch auto settings are used for the gamecontrollers. This simply means if you change automatic basic controller settings, then you will face issues. Use the remap function to change specfic game controller mapping. Find the remap feature in retroarch menu – quick menu – Controls. Change your settings, save game or core override and exit and start game again to take effect.
Make sure that save on exit activated and Remaps Bind Enable is on.
Some basic words about configuring retroarch:
Preparation : Check if save on exit is enabled.
Step 0 : Start Game, press select + Y -> retroarch menu opens
Step 1 : Press A to exit from Quick Menu, Goto Setting, Press B, Goto Configuration, Press B
Step 2 : Set Save Configuration on Exit to “on”
Hints.
Use Start Button on item to get help. Exit with A
Do Not Press Y. It executes a search, where it difficult to exit from. Use Start Button to exit