Comment #5 on issue 6 by [email protected]: real keyboard support
http://code.google.com/p/partiwm/issues/detail?id=6

Note to self: what I'm currently thinking as a strategy is: client sends modifier/keycode/keyval mapping to server, as a kind of FYI. On key events, client sends: keycode, list of keyvals associated with that keycode, list of modifier bits, possibly the interpreted keyval (arguably shouldn't be necessary, but). Server pokes around at the keymap as necessary to get something equivalent, and if there are any mismatched modifiers, it grabs the keyboard and issues some keypresses to straighten them out. (This might take some trial and error, because of issues like locking vs. non-locking modifier keys, but that's okay, we can just keep poking the keys until the modifier map looks right.)

Remember to put up all keys before applying a change to the modifier map...


_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to