1INPUT_SCANCODE_TO_SC(9)         Input Subsystem        INPUT_SCANCODE_TO_SC(9)
2
3
4

NAME

6       input_scancode_to_scalar - converts scancode in struct
7       input_keymap_entry
8

SYNOPSIS

10       int input_scancode_to_scalar(const struct input_keymap_entry * ke,
11                                    unsigned int * scancode);
12

ARGUMENTS

14       ke
15           keymap entry containing scancode to be converted.
16
17       scancode
18           pointer to the location where converted scancode should be stored.
19

DESCRIPTION

21       This function is used to convert scancode stored in struct keymap_entry
22       into scalar form understood by legacy keymap handling methods. These
23       methods expect scancodes to be represented as 'unsigned int'.
24
26Kernel Hackers Manual 3.10         June 2019           INPUT_SCANCODE_TO_SC(9)
Impressum