Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
input_keymap_entry Struct Reference

#include <input.h>

Data Fields

__u8 flags
 
__u8 len
 
__u16 index
 
__u32 keycode
 
__u8 scancode [32]
 

Detailed Description

struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls : scancode represented in machine-endian form. : length of the scancode that resides in buffer. : index in the keymap, may be used instead of scancode : allows to specify how kernel should handle the request. For example, setting INPUT_KEYMAP_BY_INDEX flag indicates that kernel should perform lookup in keymap by instead of : key code assigned to this scancode

The structure is used to retrieve and modify keymap data. Users have option of performing lookup either by itself or by in keymap entry. EVIOCGKEYCODE will also return scancode or index (depending on which element was used to perform lookup).

Definition at line 91 of file input.h.

Field Documentation

__u8 flags

Definition at line 93 of file input.h.

__u16 index

Definition at line 95 of file input.h.

__u32 keycode

Definition at line 96 of file input.h.

__u8 len

Definition at line 94 of file input.h.

__u8 scancode[32]

Definition at line 97 of file input.h.


The documentation for this struct was generated from the following file: