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