xmame: incorrect key mapping with french keyboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xmame (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xmame-sdl
When using xmame with a french keyboard, some keys are not recognized and can't be assigned to an action button in the emulator. With the default key settings, the keys for "insert coin" and "start" can't be used. I own a HotrodSE joystick plugged in the PS/2 keyboard port and its buttons are binded to keyboard keys and it can't be changed. To use it I had to add these lines to my /etc/xmame/xmamerc file:
### SDL keys remapping ###
sdlmapkey 0xb2,0x29
sdlmapkey 0x26,0x2
sdlmapkey 0xe9,0x3
sdlmapkey 0x22,0x4
sdlmapkey 0x27,0x5
sdlmapkey 0x28,0x6
sdlmapkey 0x2d,0x7
sdlmapkey 0xe8,0x8
sdlmapkey 0x5f,0x9
sdlmapkey 0xe7,0xa
sdlmapkey 0xe0,0xb
sdlmapkey 0x29,0xc
sdlmapkey 0x3d,0xd
sdlmapkey 0x41,0x10
sdlmapkey 0x5a,0x11
sdlmapkey 0x5e,0x1a
sdlmapkey 0x24,0x1b
sdlmapkey 0x51,0x1e
sdlmapkey 0x4d,0x27
sdlmapkey 0xf9,0x28
sdlmapkey 0x2a,0x29
sdlmapkey 0x57,0x2c
sdlmapkey 0x2c,0x32
sdlmapkey 0x3b,0x33
sdlmapkey 0x3a,0x34
sdlmapkey 0x21,0x35
By the way, xmame seems to be discontinued, shouldn't this package be replaced by sdlmame ? http://
Yes, the Xmame site itself suggests migration to SDLMAME as big core changes in baseline MAME(tm) made maintenance too difficult.
As for SDLMAME, see Bug #135879