First post, by bOingball
Hi All,
I'm porting the current version of Dosbox over to the gp2x linux handheld (version 0.70)
I'm just wanting some info to get a Joystick mapped to keyboard keys in the mapper.txt
The joystick in Dosbox is detected as "Using joystick PEP Joy with 0 axes and 19 buttons"
Don't worry thats the correct number of buttons it has as it's on a handheld device.
I started putting entrys into the mapper.txt file as below.
jbutton_0_0 "key 112"
jbutton_0_1 "key 109"
jbutton_0_2 "key 107"
jbutton_0_3 "key 306"
jbutton_0_4 "key 116"
jbutton_0_5 "key 121"
jbutton_0_6 "key 117"
But pressing the buttons on the handheld causes nothing to be typed at the dosprompt.
I do get an error in the output saying "Can't find matching event for jbutton_0_6" (or any button higher to be honest) (so I need to know how to get all 19 buttons detected as well)
Is the correct way to map buttons
We have a 0.65 port which runs fine (we use a keyboard hack to make this version worked)
It would be nice if we can get the joystick mapping to work though.
Anyone with any insight would be helpful.
Regards
bOing