Chapter 17: Leveraging the Linux Kernel Input Subsystem

Input devices are devices that you can use to interact with the system. Such devices include buttons, keyboards, touchscreens, mice, and more. They work by sending events that are caught and broadcast over the system by the input core. This chapter will explain each structure that's used by the input core to handle input devices, as well as how to manage events from the user space.

In this chapter, we will cover the following topics:

  • Introduction to the Linux kernel input subsystem – its data structures and APIs
  • Allocating and registering an input device
  • Using polled input devices
  • Generating and reporting input events
  • Handling input devices from the user space

Introduction to the Linux ...

Get Linux Device Driver Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.