diff options
| author | bt <bt@rctt.net> | 2026-02-20 16:04:44 +0100 |
|---|---|---|
| committer | bt <bt@rctt.net> | 2026-02-24 22:55:48 +0100 |
| commit | e14493abb20ab0c808f109bb56aaf141ad08d178 (patch) | |
| tree | fbfed0aae4d4cca733a2ecbcb7fa92c2a35cfeb2 /include | |
| parent | cb7001c8d27f22f7229be302f53012bb1db52418 (diff) | |
| download | plan9port-e14493abb20ab0c808f109bb56aaf141ad08d178.tar.gz plan9port-e14493abb20ab0c808f109bb56aaf141ad08d178.zip | |
Custom shortcuts and other minor changespatch
Diffstat (limited to 'include')
| -rw-r--r-- | include/keyboard-extras.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/keyboard-extras.h b/include/keyboard-extras.h new file mode 100644 index 00000000..1d99961d --- /dev/null +++ b/include/keyboard-extras.h @@ -0,0 +1,25 @@ +#ifndef _KEYBOARD_EXTRAS_H_ +#define _KEYBOARD_EXTRAS_H_ 1 + +#if defined(__cplusplus) +extern "C" { +#endif + +enum { + Ketx = 0x03, /* ^C, end of text */ + Kdc3 = 0x13, /* ^S, device control 3 */ + Ksyn = 0x16, /* ^V, synchronous idle */ + Kcan = 0x18, /* ^X, cancel */ + Keom = 0x19, /* ^Y, end of medium */ + Ksub = 0x1A, /* ^Z, substitute */ + + Kmod4 = 0xF200, /* Mod4 bindings */ + Ksh = 0xF300, /* Shift modified bindings */ + Kcret = 0xF400, /* Control + Return */ +}; + +#if defined(__cplusplus) +} +#endif + +#endif /* _KEYBOARD_EXTRAS_H_ */
\ No newline at end of file |
