summaryrefslogtreecommitdiff
path: root/src/devices/IKeyboard.cpp
Commit message (Collapse)AuthorAgeFilesLines
* keyboard: update group state on change for the sym resolve stateVaxry2024-10-081-0/+3
| | | | fixes #8038
* keybinds: fixup xkb_states for resolve_by_symvaxerski2024-10-081-0/+10
| | | | fixes #7750
* input: Fix modifier keys getting stuck if depressed during config reload (#7486)MahouShoujoMivutilde2024-08-231-1/+2
| | | | | | | | | | The problem: If `input:numlock_by_default = true`, depressed mods will get stuck on config reload; this takes effect after some other mod is pressed. This restores 0.41.2 behavior, with the exception that selected keyboard layout is preserved. https://github.com/hyprwm/Hyprland/blob/918d8340afd652b011b937d29d5eea0be08467f5/src/managers/input/InputManager.cpp#L993-L1002
* input: fix keyboard leds with multiple keyboards (#7079)Sungyoon Cho2024-07-281-3/+12
|
* input: Fix `hyprctl switchxkblayout` not actually changing layout (#7070)MahouShoujoMivutilde2024-07-271-0/+7
| | | | | | | | | | | | | | | | | | Emits `SModifiersEvent` in `updateModifiers()` Before the patch: Changing layout with `hyprctl switchxkblayout ...` results in: * active keymap in `hyprctl devices` is changed * no event * no layout is actually changed UNTIL you press one of the mod keys (Alt | Shift | Super | Ctrl) After: * active keymap in `hyprctl devices` changed * activelayout IPC event emitted * layout is changed This fixes https://github.com/hyprwm/Hyprland/issues/7044
* keyboard: properly update keymap state and fd on keymap changesVaxry2024-07-251-11/+31
| | | | | | needed for virtual keyboards that impose their own layouts. fixes #6991
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-23/+231
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-1/+1
| | | | | | | | | | | | | * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* input: fix modifier and leds (#6062)Sungyoon Cho2024-05-141-1/+10
|
* cursor: move to a hyprland implVaxry2024-05-091-0/+4
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* xkb: check value correctly with xkb_state_layout_index_is_active() (#5925)Ikalco2024-05-071-2/+2
|
* keyboard: check for wlr() validity before accessingVaxry2024-05-041-1/+1
| | | | fixes #5873
* input: Introduce basic hyprland HID classesVaxry2024-05-031-0/+134
Implements an intermediary HID class for mice, keyboards and touch devices, removing the old structs from WLClasses.hpp Yes, virtual ones are duplicated a bit, but will likely be de-duped once wlr_input_device is not used anymore.