]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/keyboard.h
8021q: fix a potential memory leak
[mirror_ubuntu-bionic-kernel.git] / include / linux / keyboard.h
CommitLineData
1da177e4
LT
1#ifndef __LINUX_KEYBOARD_H
2#define __LINUX_KEYBOARD_H
3
607ca46e 4#include <uapi/linux/keyboard.h>
1da177e4 5
41ab4396 6struct notifier_block;
1da177e4
LT
7extern unsigned short *key_maps[MAX_NR_KEYMAPS];
8extern unsigned short plain_map[NR_KEYS];
41ab4396
ST
9
10struct keyboard_notifier_param {
11 struct vc_data *vc; /* VC on which the keyboard press was done */
12 int down; /* Pressure of the key? */
13 int shift; /* Current shift mask */
0beb4f6f 14 int ledstate; /* Current led state */
41ab4396
ST
15 unsigned int value; /* keycode, unicode value or keysym */
16};
17
18extern int register_keyboard_notifier(struct notifier_block *nb);
19extern int unregister_keyboard_notifier(struct notifier_block *nb);
1da177e4 20#endif