input_scancode_to_scalar(9)

input_scancode_to_scalar9

Converts scancode in struct input_keymap_entry

Usage

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

Arguments

ke

keymap entry containing scancode to be converted.

scancode

pointer to the location where converted scancode should be stored.

Overview

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 'unsigned int'.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.