aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/backend.c
AgeCommit message (Collapse)Author
2017-10-21Rename remaining refs to wlr_listDrew DeVault
2017-08-26Merge wlr_udev into wlr_sessionScott Anderson
2017-08-19libinput: wl_event_source_remove on destroyDominique Martinet
2017-08-16Improve no device detection supportDrew DeVault
2017-08-16libinput: fail if no input found on initDominique Martinet
This runs through events pending at init on initialization so we can tell if some devices are available. Note that with the way wlr_device_lists is managed, this checks that there is at least one device we handle - it doesn't have to be a keyboard, but there is at least a mouse or tablet_pad or something that we care about. Instead of failing inconditionally it might be better to leave the decision to the user, e.g. add a "backend_has_devices" function to call later. (Tested by moving /dev/input off) Fixes #24.
2017-08-14Refactor out wlr_input_device_stateDominique Martinet
2017-08-13Add backend detection functionsCalvin Lee
Resolves #80
2017-08-13wlr_backend_init -> wlr_backend_startDrew DeVault
Also renames create to init. We'll use create for anything that allocates and init for anything that takes a pointer and initializes it.
2017-08-13libinput backend: massive renamingDominique Martinet
- 'libinput' (backend's) to libinput_context - 'device' (libinput_device) to libinput_dev - 'dev' (wlr_device) to wlr_dev - 'devices' lists tangling of libinput devices to wlr_devices - 'devices' list of wlr_devices in backend state to wlr_device_lists
2017-08-12Re-enable backend autoselectionDrew DeVault
2017-08-12Update libinput backend with new state designDrew DeVault
2017-08-12Use libinput_event_destroy/xkb_*_unrefDominique Martinet
Also sneak in a missing drmModeFreePlaneResources
2017-08-12libinput: signal input remove on libinput backend destroyDominique Martinet
This lets the upper crust cleanup and free their own states
2017-08-11Fix libinput destroy for devices with multiple capabilitiesDominique Martinet
2017-08-11Complete a few destroy functionsDominique Martinet
This adds missing free calls for: - drm outputs - libinput backend in general - final udev free - output mode state
2017-08-06Changed header paths.Scott Anderson
2017-06-21Reorganize wlr-commonDrew DeVault
2017-06-21Fixed VT switchingScott Anderson
2017-06-14Allocate wlr_touch devicesDrew DeVault
2017-06-13Split keyboard code out into its own fileDrew DeVault
2017-06-13Handle key pressesDrew DeVault
2017-06-13Initialize keyboards from libinputDrew DeVault
2017-06-13Fix issues, flesh out event handling somewhatDrew DeVault
2017-06-13Add error handling and init in backend_autocreateDrew DeVault
2017-06-13Initial pass on libinput backendDrew DeVault