2. Linux Input Subsystem kernel API¶
Table of Contents
- 2.1. Creating an input device driver
- 2.1.1. The simplest example
- 2.1.2. What the example does
- 2.1.3. dev->open() and dev->close()
- 2.1.4. Basic event types
- 2.1.5. BITS_TO_LONGS(), BIT_WORD(), BIT_MASK()
- 2.1.6. The id* and name fields
- 2.1.7. The keycode, keycodemax, keycodesize fields
- 2.1.8. dev->getkeycode() and dev->setkeycode()
- 2.1.9. Key autorepeat
- 2.1.10. Other event types, handling output events
- 2.2. Programming gameport drivers
- 2.3. Keyboard notifier