centos man page for sparse_keymap_setup

Query: sparse_keymap_setup

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SPARSE_KEYMAP_SETUP(9)						  Input Subsystem					    SPARSE_KEYMAP_SETUP(9)

NAME
sparse_keymap_setup - set up sparse keymap for an input device
SYNOPSIS
int sparse_keymap_setup(struct input_dev * dev, const struct key_entry * keymap, int (*setup) (struct input_dev *, struct key_entry *));
ARGUMENTS
dev Input device keymap Keymap in form of array of key_entry structures ending with KE_END type entry setup Function that can be used to adjust keymap entries depending on device's deeds, may be NULL
DESCRIPTION
The function calculates size and allocates copy of the original keymap after which sets up input device event bits appropriately. Before destroying input device allocated keymap should be freed with a call to sparse_keymap_free.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SPARSE_KEYMAP_SETUP(9)
Related Man Pages
struct_input_dev(9) - centos
struct_input_handler(9) - centos
struct_input_polled_dev(9) - centos
install-keymap(8) - debian
struct_ff_device(9) - suse
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
How to increment version inside a file?
CentOS7 restoring file capabilities
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!