[Coco] Remapping XROAR keys to use CTRL-ALT-F1-F2 on CoCo 3

Allen Huffman alsplace at pobox.com
Fri Feb 3 22:16:17 EST 2023


Has anyone figured out how to get the Mac XRoar configured to pass ALT/CTRL/F1/F2 to the virtual CoCo 3? By default, the UI eats those keys.

You can pass in -kdb-bind options to override, but I have yet to get them working. The syntax is supposedly something like this:

./xroar --debug-ui 1 -kbd-bind "Left Ctrl"=pre:ctrl -kbd-bind "Right Alt"=pre:alt

The “-debug-ui 1” just outputs all the key up/down messages to the console for debugging purposes:

sdl.key press   scan=227   sym=400000e3   mod=0400   unicode=0000   name=Left Command
sdl.key release scan=227   sym=400000e3   mod=0000   unicode=0000   name=Left Command
sdl.key press   scan=226   sym=400000e2   mod=0100   unicode=0000   name=Left Option
sdl.key release scan=226   sym=400000e2   mod=0000   unicode=0000   name=Left Option
sdl.key press   scan=224   sym=400000e0   mod=0040   unicode=0000   name=Left Ctrl
sdl.key release scan=224   sym=400000e0   mod=0000   unicode=0000   name=Left Ctrl

CoCo 3 support is relatively new to XROAR, and I’m not sure if this is fully working yet.

--
Allen Huffman - PO Box 7634 - Urbandale IA 50323 - 515-999-0227 (vmail/TXT only)
http://www.subethasoftware.com - https://www.facebook.com/subethasoftware




More information about the Coco mailing list