CVS: rdesktop/doc keymapping.txt,1.10,1.11
Peter Åstrand <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19744/doc Modified Files: keymapping.txt Log Message: Implemented support for keyboard "sequences", which makes it possible to send multiple scancodes to the RDP server in response to one X11 keyboard event. Index: keymapping.txt =================================================================== RCS file: /cvsroot/rdesktop/rdesktop/doc/keymapping.txt,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** keymapping.txt 22 Aug 2004 14:25:38 -0000 1.10 --- keymapping.txt 2 Aug 2005 15:07:35 -0000 1.11 *************** *** 42,62 **** The keymaps are line based. There are four different types of lines: ! 1) include-lines Syntax: include <another-map-file> ! 2) map-lines Syntax: map <hex-number> Map-lines specifies how the remote RDP server should interpret the sent scancodes. ! 3) Translation-lines Syntax: <keysym-name> <scancode> [flags..] The scancode can be found in scancodes.h. Note: The scancode value for extended keys can be calculated by OR:ing with 0x80. Example: The --- 42,71 ---- The keymaps are line based. There are four different types of lines: ! 1) include lines Syntax: include <another-map-file> + Example: + include common ! ! 2) map lines Syntax: map <hex-number> + Example: + map 0x41d + Map-lines specifies how the remote RDP server should interpret the sent scancodes. ! 3) Translation lines Syntax: <keysym-name> <scancode> [flags..] + Example: + onehalf 0x29 shift + The scancode can be found in scancodes.h. Note: The scancode value for extended keys can be calculated by OR:ing with 0x80. Example: The *************** *** 66,74 **** python -c "print hex(0x80 | 0x52)" ! If flags are "altgr", "shift", the scancode sent for this ! keysym will be prefix with AltGr, or Shift. ! If flags include "addupper", an translation for this keysyms uppercase ! name will as well, in addition to the non-uppercase name. Example: x 2d addupper --- 75,84 ---- python -c "print hex(0x80 | 0x52)" ! If flags are "altgr", "shift", the scancode sent for this keysym will ! be prefixed with AltGr, or Shift. ! If flags includes "addupper", a translation for this keysyms uppercase ! name will be added as well, in addition to the non-uppercase ! name. Example: x 2d addupper *************** *** 94,97 **** --- 104,121 ---- + 5) sequence lines + Syntax: + sequence <event-keysym-name> <keysym-name1> <keysym-name2> ... + + Examples: + sequence eacute dead_acute e + sequence F12 f o o at e x a m p l e period c o m + + Sequence lines allows you to specify that multiple scancodes should be + sent to the RDP server, in response to one X11 keyboard event. Note: + The sequence is sent at the X11 KeyPress event. Nothing is sent at + KeyRelease. + + Suggested X11 keysym mapping on PCs =================================== ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click