Page 1 of 1

Keyboard driver

Posted: Wed Jan 23, 2008 1:32 pm
by AlfaOmega08
Hello everyone.
I'm writing a keyboard driver. When using bochs i can't use some keyboard keys souch as the "Alt GR" or the two windows flag key or the menu key...
When I hit Alt GR, bochs write:
xkeypress(): keysym fe03 unhandled!

How can I make this keys handled?

Thanks

Posted: Wed Jan 23, 2008 2:27 pm
by Cemre
try loading a different keymap
#=======================================================================
# KEYBOARD_MAPPING:
# This enables a remap of a physical localized keyboard to a
# virtualized us keyboard, as the PC architecture expects.
# If enabled, the keymap file must be specified.
#
# Examples:
# keyboard_mapping: enabled=1, map=gui/keymaps/x11-pc-de.map
#=======================================================================
keyboard_mapping: enabled=0, map=

#=======================================================================
# KEYBOARD_TYPE:
# Type of keyboard return by a "identify keyboard" command to the
# keyboard controler. It must be one of "xt", "at" or "mf".
# Defaults to "mf". It should be ok for almost everybody. A known
# exception is french macs, that do have a "at"-like keyboard.
#
# Examples:
# keyboard_type: mf
#=======================================================================
#keyboard_type: mf
or download the source and try hacking into bochs ( i had done this once for another reason... :) it works )