Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-16 | Merge pull request #94 from martinetd/libinput_no_device | Drew DeVault | |
libinput: fail if no input found on init | |||
2017-08-16 | Prevent alloc errors from crashing in `list_t` | Calvin Lee | |
This commit changes the `list_t` api so that alloc errors can be detected and worked around. Also fixes errors not found in 5cc7342 | |||
2017-08-16 | libinput: fail if no input found on init | Dominique 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-15 | Merge pull request #88 from 4e554c4c/alloc_crashing | Drew DeVault | |
Prevent alloc errors from crashing | |||
2017-08-15 | Prevent alloc errors from crashing | Calvin Lee | |
Resolves #76 | |||
2017-08-14 | Fix style issues | nyorain | |
2017-08-14 | Refactor out wlr_touch_state | Dominique Martinet | |
2017-08-14 | Refactor out wlr_tablet_tool_state | Dominique Martinet | |
2017-08-14 | Refactor out wlr_tablet_pad_state | Dominique Martinet | |
2017-08-14 | Refactor out wlr_pointer_state | Dominique Martinet | |
2017-08-14 | Refactor out wlr_keyboard_state | Dominique Martinet | |
2017-08-14 | Refactor out wlr_input_device_state | Dominique Martinet | |
2017-08-13 | Add backend detection functions | Calvin Lee | |
Resolves #80 | |||
2017-08-13 | wlr_backend_init -> wlr_backend_start | Drew 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-13 | libinput backend: massive renaming | Dominique 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-13 | libinput backend: match logging for removal and add | Dominique Martinet | |
Only log removal of devices once, but also log it for devices that we do not care about. | |||
2017-08-13 | libinput: remove useless get_context call | Dominique Martinet | |
That function is literally just "return event->device->seat->libinput" We do not use context, so do not fetch it. | |||
2017-08-12 | Re-enable backend autoselection | Drew DeVault | |
2017-08-12 | Update libinput backend with new state design | Drew DeVault | |
2017-08-12 | libinput: fix segfault when handling non-wlr device removal | Dominique Martinet | |
2017-08-12 | Use libinput_event_destroy/xkb_*_unref | Dominique Martinet | |
Also sneak in a missing drmModeFreePlaneResources | |||
2017-08-12 | libinput: signal input remove on libinput backend destroy | Dominique Martinet | |
This lets the upper crust cleanup and free their own states | |||
2017-08-12 | libinput backend: fill in handle_device_removed | Dominique Martinet | |
And fix input_remove_notify accordingly | |||
2017-08-11 | Fix libinput destroy for devices with multiple capabilities | Dominique Martinet | |
2017-08-11 | Complete a few destroy functions | Dominique Martinet | |
This adds missing free calls for: - drm outputs - libinput backend in general - final udev free - output mode state | |||
2017-08-11 | Build libinput events on the stack instead of allocating | Dominique Martinet | |
2017-08-06 | Changed header paths. | Scott Anderson | |
2017-06-21 | Make event names consistent | Drew DeVault | |
2017-06-21 | Reorganize wlr-common | Drew DeVault | |
2017-06-21 | Update everyone to use new headers | Drew DeVault | |
2017-06-21 | Fixed VT switching | Scott Anderson | |
2017-06-19 | Implement keyboard LEDs | Drew DeVault | |
2017-06-19 | Implement tablet pads | Drew DeVault | |
2017-06-15 | Add tablet example | Drew DeVault | |
2017-06-15 | Implement wlr_tablet_tool | Drew DeVault | |
2017-06-14 | Flesh out touch events and add demo | Drew DeVault | |
2017-06-14 | Allocate wlr_touch devices | Drew DeVault | |
2017-06-13 | Implement libinput wlr_pointer | Drew DeVault | |
2017-06-13 | Incorporate XKBCommon into example | Drew DeVault | |
2017-06-13 | Only allocate device state when it will be used | Drew DeVault | |
This design also avoids double frees in the future when we're creating several wlr_input_devices from one libinput_device. | |||
2017-06-13 | Reassign ownership of libinput handle | Drew DeVault | |
2017-06-13 | Split keyboard code out into its own file | Drew DeVault | |
2017-06-13 | Handle key presses | Drew DeVault | |
2017-06-13 | Initialize keyboards from libinput | Drew DeVault | |
2017-06-13 | Fix issues, flesh out event handling somewhat | Drew DeVault | |
2017-06-13 | Add error handling and init in backend_autocreate | Drew DeVault | |
2017-06-13 | Initial pass on libinput backend | Drew DeVault | |