Lines Matching +full:linux +full:- +full:event +full:- +full:codes

2  * Atari Keyboard driver for 680x0 Linux
17 #include <linux/module.h>
18 #include <linux/sched.h>
19 #include <linux/kernel.h>
20 #include <linux/interrupt.h>
21 #include <linux/errno.h>
22 #include <linux/keyboard.h>
23 #include <linux/delay.h>
24 #include <linux/timer.h>
25 #include <linux/kd.h>
26 #include <linux/random.h>
27 #include <linux/init.h>
28 #include <linux/kbd_kern.h>
60 * - The Alt (= Meta) key works in combination with Shift and
61 * Control, e.g. Alt+Shift+a sends Meta-A (0xc1), Alt+Control+A sends
62 * Meta-Ctrl-A (0x81) ...
64 * - The parentheses on the keypad send '(' and ')' with all
68 * - HELP and UNDO are mapped to be F21 and F24, resp, that send the
69 * codes "\E[M" and "\E[P". (This is better than the old mapping to
70 * F11 and F12, because these codes are on Shift+F1/2 anyway.) This
75 * - Console switching is done with Alt+Fx (consoles 1..10) and
78 * - The misc. special function implemented in the kernel are mapped
81 * ClrHome -> Home/Find
82 * Shift + ClrHome -> End/Select
83 * Shift + Up -> Page Up
84 * Shift + Down -> Page Down
85 * Alt + Help -> show system status
86 * Shift + Help -> show memory info
87 * Ctrl + Help -> show registers
88 * Ctrl + Alt + Del -> Reboot
89 * Alt + Undo -> switch to last console
90 * Shift + Undo -> send interrupt
91 * Alt + Insert -> stop/start output (same as ^S/^Q)
92 * Alt + Up -> Scroll back console (if implemented)
93 * Alt + Down -> Scroll forward console (if implemented)
94 * Alt + CapsLock -> NumLock
98 * - Help mapped to K_HELP
99 * - Undo mapped to K_UNDO (= K_F246)
100 * - Keypad Left/Right Parenthesis mapped to new K_PPAREN[LR]
123 * one that really looks like a key event (0x04..0xf2) or the start of a mouse
125 * speeds up the resynchronization of the event structure, even if maybe a
204 /* during self-test, note that 0xf1 received */ in atari_keyboard_interrupt()
216 /* Scancodes sent during the self-test stand for broken in atari_keyboard_interrupt()
219 * make codes instead. Therefore, simply ignore in atari_keyboard_interrupt()
226 /* new Linux scancodes; approx. */ in atari_keyboard_interrupt()
228 keytyp = KTYP(keyval) - 0xf0; in atari_keyboard_interrupt()
238 pr_cont("is broken -- will be ignored.\n"); in atari_keyboard_interrupt()
280 But will this ever be used, as Linux keeps its own time. in atari_keyboard_interrupt()
291 kb_state.len--; in atari_keyboard_interrupt()
329 len--; in ikbd_write()
342 * if all's well code 0xF1 is returned, else the break codes of in ikbd_reset()
441 /* Set joystick event reporting */
478 /* some joystick routines not in yet (0x18-0x19) */
550 * self-test is finished */ in atari_keyb_init()