Changes between Version 1 and Version 2 of Ticket #8370, comment 10


Ignore:
Timestamp:
Mar 23, 2013, 10:50:25 PM (11 years ago)
Author:
X512

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8370, comment 10

    v1 v2  
    11Replying to [comment:8 leavengood]:
    22> That looks pretty good. Just be sure to check the Keymap preflet code before you try to implement keymap support, as I suspect that will have most of what you would need (as Axel suggested.)
    3 BeAPI already has function ''get_key_map'' for handling keymaps. This function is enough for keyboard. I wrote special class "KeyboardHandler" that gets scancodes and produces messages. Also it handles states of caps, num and scroll lock keys, keystroke repeating by separate thread. For now handling deadkeys is missing. Keymap handling is a little part of this class. Most part is message generation that duplicates hardware keyboard input_server device.
     3BeAPI already has function ''get_key_map'' for handling keymaps. This function is enough for keyboard. I wrote special class "KeyboardHandler" that gets scancodes and produces messages. Also it handles states of caps, num and scroll lock keys, keystroke repeating by separate thread. For now handling deadkeys is missing. Keymap handling is a little part of this class. Most part is message generation that duplicates functionality of hardware keyboard input_server device.
    44
    55Replying to [comment:9 axeld]: