Copying the definition of xcb_input_device_presence_notify_event_t to
our code makes the new device detection code work also on systems
without libxcb-xinput (Debian/Ubuntu).
Details
Details
- Reviewers
graesslin - Group Reviewers
Plasma - Commits
- R119:ca7618dd6173: kcm_keyboard: Don't require libxcb-xinput
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Enable debug for org.kde.kcm_keyboard category, plug keyboard/mouse and look for "new keyboard/pointer device" in kded output.
Comment Actions
output when plugging in a device:
kded5(3129)/(org.kde.kcm_keyboard) unknown: New device id: 10 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 2 name: Virtual core pointer used as: 0 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 3 name: Virtual core keyboard used as: 1 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 4 name: Virtual core XTEST pointer used as: 4 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 5 name: Virtual core XTEST keyboard used as: 3 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 6 name: Power Button used as: 3 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 7 name: Video Bus used as: 3 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 8 name: Power Button used as: 3 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 9 name: UVC Camera (046d:0825) used as: 3 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 11 name: Microsoft Microsoft® Nano Transceiver v2.1 used as: 3 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 12 name: Microsoft Microsoft® Nano Transceiver v2.1 used as: 4 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 13 name: Microsoft Microsoft® Nano Transceiver v2.1 used as: 4 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 14 name: Microsoft Microsoft® Nano Transceiver v2.1 used as: 3 kded5(3129)/(org.kde.kcm_keyboard) unknown: id: 10 name: Logitech M570 used as: 4 kded5(3129)/(org.kde.kcm_keyboard) unknown: new pointer device, id: 10 name: Logitech M570 used as: 4