kbd_mode
kbd_mode
kbd_mode [option]
Print or set the current keyboard mode, which may be RAW, MEDIUMRAW, XLATE, or UNICODE.
Options
Set mode to XLATE (ASCII mode).
Set mode to MEDIUMRAW (keycode mode).
Set mode to RAW (scancode mode).
Set mode to UNICODE (UTF-8 mode).