'\" t .\" Title: input_scancode_to_scalar .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Input Subsystem .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "INPUT_SCANCODE_TO_SC" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Input Subsystem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" input_scancode_to_scalar \- converts scancode in struct input_keymap_entry .SH "SYNOPSIS" .HP \w'int\ input_scancode_to_scalar('u .BI "int input_scancode_to_scalar(const\ struct\ input_keymap_entry\ *\ " "ke" ", unsigned\ int\ *\ " "scancode" ");" .SH "ARGUMENTS" .PP \fIke\fR .RS 4 keymap entry containing scancode to be converted\&. .RE .PP \fIscancode\fR .RS 4 pointer to the location where converted scancode should be stored\&. .RE .SH "DESCRIPTION" .PP This function is used to convert scancode stored in struct keymap_entry into scalar form understood by legacy keymap handling methods\&. These methods expect scancodes to be represented as \*(Aqunsigned int\*(Aq\&. .SH "COPYRIGHT" .br