Bluetooth keyboard positional mapping
I don’t understand what is the positional mapping used by vc64web. I’m using a Bluetooth keyboard but vc64web seems to use a different positional mapping from vice and some keys not function.
Hi @vari77 !
I’m using a Bluetooth keyboard but vc64web seems to use a different positional mapping from vice and some keys not function.
it could be that I did a mistake on some keys ... do you have an example key ?
I don’t understand what is the positional mapping used by vc64web.
in theory it should map the layout of a real C64 keyboard onto your host keyboard
e.g. SHIFT + , = < on positional keyboard regardless of the keyboard language of your host keyboard
Hi @mithrendal,
I'm using an Ipad, the keyboard has PC US layout, below the keys that create problems:
If I press the ' key, VC64 do nothing instead the Arrow Left symbol key If I press the TAB key, VC64 do nothing instead the CTRL key If I press the ESC key, VC64 do nothing instead the RUN STOP key If I press the END key, VC64 do nothing instead the symbol key £ If I press the PAGE DOWN key, VC64 do nothing instead the symbol key = If I press the \ key, VC64 print = key instead the Arrow UP symbol key If I press the HOME key, VC64 do nothing instead the HOME key If I press the END key, VC64 do nothing instead the symbol key £
With Vice and its positional file all is ok.
Thanks
does your keyboard look like this keyboard ?
I am adding here the original as a comparison
lets check now each key of your list
If I press the ' key, VC64 do nothing instead the Arrow Left symbol key
analysis: in between L and Return the Apple US-keyboard has only to keycaps whereas the commodore keyboard has 3 keycaps. The Arrow-KeyCap you mentioned is one row above...
I have a german keyboard with 3 keycaps between L and Return and it maps correctly see here screenshot in anykey program.
next
If I press the TAB key, VC64 do nothing instead the CTRL key
yes I see ... control keycap which is left to the Q-keycap is not triggered. We have to fix this.
to be continued...
I’m using as reference the US pc keyboard layout, this is the layout thet I use from vice website: https://vice-emu.sourceforge.io/images/vice-c64-positional-keymap-us.png
But I could remap my keyboard if you have a positional correspondence between apple keyboard and c64 keyboard, or if you have the symbol correspondence that you have implemented I could use it.
But I could remap my keyboard if you have a positional correspondence between apple keyboard and c64 keyboard, or if you have the symbol correspondence that you have implemented I could use it.
I think I have to correct some keys e.g. Tab => CtrlKey 😎
but until then you can of course also remap some keys in vc64web itself by adding a action mapping with the "+" menu item.
for example to remap your native Tab Key to the C64 Ctrl Key you would do it with this actionScript
pressControlLeft=>await_action_button_released=>releaseControlLeft
choose that it applies globally and save it.
you can access later all your created keyboard mappings again by hitting the "+" item and then hit on the list button in the upper right corner.
just fixed the tab key to behave like the control key. new version is online