最終更新:2017-03-05 (日) 13:29:07 (1363d)  

Linux/dev/input
Top / Linux / dev / input

  • $ tree /dev/input
    /dev/input
    ├── by-id
    │   ├── usb-QUANTA_OpticalTouchScreen-event-if00 -> ../event7
    │   ├── usb-VirtualBox_USB_Tablet-event-mouse -> ../event5
    │   └── usb-VirtualBox_USB_Tablet-mouse -> ../js0
    ├── by-path
    │   ├── pci-0000:00:04.0-event-mouse -> ../event6
    │   ├── pci-0000:00:04.0-mouse -> ../js1
    │   ├── pci-0000:00:06.0-usb-0:1:1.0-event-mouse -> ../event5
    │   ├── pci-0000:00:06.0-usb-0:1:1.0-mouse -> ../js0
    │   ├── pci-0000:00:06.0-usb-0:2:1.0-event -> ../event7
    │   ├── platform-i8042-serio-0-event-kbd -> ../event2
    │   ├── platform-i8042-serio-1-event-mouse -> ../event4
    │   └── platform-i8042-serio-1-mouse -> ../mouse0
    ├── event0
    ├── event1
    ├── event2
    ├── event3
    ├── event4
    ├── event5
    ├── event6
    ├── event7
    ├── js0
    ├── js1
    ├── mice
    ├── mouse0
    ├── mouse1
    └── mouse2

ディレクトリ

  • Linux/dev/input/by-id?
  • Linux/dev/input/by-path?

ファイル

Linux/dev/input/mice

  • This single character device is shared by all mice and digitizers, and even if none are connected, the device is present.
  • This is useful for hotplugging USB mice, so that programs can open the device even when no mice are present.

ドライバの関数

どのデバイスかの確認

確認

Linux/イベント処理

関連