xplus4 keymap seems not up to date?
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
It seems that several keymappings are different in the xplus4 target compared to x64sc or xvic. See <shift-7> (should be '/') and <shift-2> (should be '"').</shift-2></shift-7>
xplus4 r37611 GTK3 on Ubuntu 18.04 LTS.
Keyboard: Loading keymap `vice/data/PLUS4/gtk3_sym.vkm'.
Keyboard: Warning - gtk3_sym.vkm:144: !RSHIFT defined but key does not use SHIFT flag
Keyboard: Warning - gtk3_sym.vkm:145: !RSHIFT defined but key does not use SHIFT flag
Keyboard: Warning - gtk3_sym.vkm:233: !RSHIFT defined but key does not use SHIFT flag
Keyboard: Warning - gtk3_sym.vkm:235: !RSHIFT defined but key does not use SHIFT flag
Keyboard: Warning - gtk3_sym.vkm: !LCBM !VCBM !LCTRL !VCTRL !SHIFTL not defined.
probably also other (non US) keymaps for other emulators... the warnings are harmles though, it just means the new/updated features are not used, they should still work the same as they did before. not surprised the xplus4 maps are wrong either :)
I can select American or German host keyboard mapping keymap in the gui. This is American. German seems slightly saner for those keys at least.
perhaps i fixed those then, i dont know... i only have a german keyboard :)
I only have a Swedish one to test but both of them seem quite messed up.
Shift-7is an apostrophe on the US +4 keyboard (it looks like a short slash).just like on the C64 - he was using a symbolic map though :)
Is there a reasonable testprogram for these mappings?
I found this for the c64: https://csdb.dk/release/?id=98411
Last edit: Daniel Kahlin 2020-04-09
for me this keyboard tool always worked fine.
can you please test again? i tweaked the symbolic map for germap PC keyboard a bit, but for US mapping i cant do much
That keymapping is totally weird in the US symbolic keymap... Start emu, then holding r-shift and repeatedly pressing 7 yields "?////...". Seems to happen everytime I release shift inbetween.
l-shift + 7 gives '?' and r-shift + 7 gives '/', maybe that's a clue?
It could be a clue that the wrong shift is emulated in that case also. Seems like the first char with a held r-shift, is actually l-shifted?
Caution. There is an unrelated bug hiding in the generic keyboard code, which shows when holding shift and typing several keys. When testing a keymap, you should always release all keys before typing the next key.
That said, it should be possible to work out a keymap for your layout starting with the german one - which now works OK for me.
US and DE mappings should work fine now - please try again