Linux Input Subsystem kernel APIΒΆ

Table of Contents

  • 1. Creating an input device driver
    • 1.1. The simplest example
    • 1.2. What the example does
    • 1.3. dev->open() and dev->close()
    • 1.4. Basic event types
    • 1.5. BITS_TO_LONGS(), BIT_WORD(), BIT_MASK()
    • 1.6. The id* and name fields
    • 1.7. The keycode, keycodemax, keycodesize fields
    • 1.8. dev->getkeycode() and dev->setkeycode()
    • 1.9. Key autorepeat
    • 1.10. Other event types, handling output events
  • 2. Programming gameport drivers
    • 2.1. A basic classic gameport
    • 2.2. Memory mapped gameport
    • 2.3. Cooked mode gameport
    • 2.4. More complex gameports
    • 2.5. Unregistering a gameport
    • 2.6. The gameport structure
  • 3. Keyboard notifier

Related Topics

  • Documentation overview
    • The Linux Input Documentation
      • Previous: 8. The userio Protocol
      • Next: 1. Creating an input device driver

This Page

  • Show Source

Quick search

©The kernel development community. | Powered by Sphinx 1.6.5 & Alabaster 0.7.6 | Page source