Howto:Reassign keyboard bindings: Difference between revisions

Jump to navigation Jump to search
→‎By enabling special debugging output: Switch from the old {{git file}} to {{fgdata source}} to update the broken and old Gitorious link.
(Switch from {{git link}} to {{fgdata source}} to provide a functional link, pointing to the correct infrastructure.)
(→‎By enabling special debugging output: Switch from the old {{git file}} to {{fgdata source}} to update the broken and old Gitorious link.)
Line 125: Line 125:


=== By enabling special debugging output ===
=== By enabling special debugging output ===
If the key isn't listed in keyboard.xml, the last option is to enable some helpful output to see what the correct keycode is. Uncomment {{git file|gitorious|fg/fgdata|master|keyboard.xml|39|pre=line #34 of <nowiki> </nowiki> }} and run with the <tt>--console</tt> option, if on windows, and look at the console to see each keycode for each key. Make sure you can see the output as you press keys, or you won't know which is which! When I press and release {{key press|a}}, I get this output:
If the key isn't listed in keyboard.xml, the last option is to enable some helpful output to see what the correct keycode is. Uncomment {{fgdata source|path=keyboard.xml|line=39}} and run with the <tt>--console</tt> option, if on windows, and look at the console to see each keycode for each key. Make sure you can see the output as you press keys, or you won't know which is which! When I press and release {{key press|a}}, I get this output:


<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">

Navigation menu