Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
keyboard.h
Go to the documentation of this file.
1
#ifndef __LINUX_KEYBOARD_H
2
#define __LINUX_KEYBOARD_H
3
4
#include <
uapi/linux/keyboard.h
>
5
6
struct
notifier_block
;
7
extern
unsigned
short
*
key_maps
[
MAX_NR_KEYMAPS
];
8
extern
unsigned
short
plain_map
[
NR_KEYS
];
9
10
struct
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 */
14
int
ledstate
;
/* Current led state */
15
unsigned
int
value
;
/* keycode, unicode value or keysym */
16
};
17
18
extern
int
register_keyboard_notifier
(
struct
notifier_block
*nb);
19
extern
int
unregister_keyboard_notifier
(
struct
notifier_block
*nb);
20
#endif
Generated on Thu Jan 10 2013 14:17:23 for Linux Kernel by
1.8.2