It works okay on OS X, Linux (even though the first time I compiled it - it didn't so maybe there is an hidden bug somewhere).
It doesn't work on Windows however and I have no idea why.
I'll try to have Oricutron to be built with visual studio so that I can debug it.
Using Mingw's gdb was very strange...
Anyway, if someone can test this it would be nice.
There is a new submenu called "Keyboard options".
In the submenu you can find:
- a toggle that shows/hides the visual keyboard (you can click on the keyboard keys to enter key presses/releases) ;
- a toggle that gets you in the key mapping definition mode (you can then click on a visual keyboard key ; press a real key on your keyboard and the mapping will work) ;
- a toggle that allows mod keys (ctrl, shift, funct) to be sticky (ie you first click on a key to press it and then either re-click it to release it or click on another key and it will generate a modded key press - e.g. a Ctrl-T instead of T - and then auto release the key) ;
- an option to save a keyboard mapping (.kma file) ;
- an option to load a keyboard mapping ;
- an option that resets the keyboard mapping to the default SDL one.
You can also add the following in your oricutron.cfg to autoload a keyboard mapping (here Test.kma in the keymap directory found in Oricutron's directory):
Code: Select all
; automatically load a keyboard mapping file autoload_keyboard_mapping = 'keymap/Test.kma'
Also if someone finds why this doesn't work under Windows it would be even nicer
PS : the visual keyboard isn't working correctly on the Pravetz 8D but I have trouble understanding some of the keys... Any help with this is more than welcome as I don't have a pravetz 8D.