sway: ignore input events from buffyboard

This commit is contained in:
2024-10-05 11:47:10 +00:00
parent 383893eed2
commit 3da1f78ff5
2 changed files with 12 additions and 0 deletions

View File

@@ -203,6 +203,9 @@ for_window [title="sm64ex-coop: beta 31.0"] {
### displays & inputs
# totally disable input events generated by buffyboard
input "26214:25209:rd" events disabled
input type:touchpad {
# see also: accel_profile, scroll_factor, tap_button_map, clickfinger_button_map
tap enabled

View File

@@ -1,3 +1,12 @@
# buffyboard processes system-wide /dev/input/* events (touchscreen, mouse)
# and outputs events to a virtual input device.
# this plays well with keyboard-only software like getty,
# but for any programs which use both pointer inputs and keyboard inputs (e.g. desktop environments)
# you likely want to instruct them to ignore the buffyboard device, else clicking or tapping might trigger
# both a mouse event *and* an undesired keyboard event via buffyboard.
#
# for sway, add to ~/.config/sway/config: `input "26214:25209:rd" events disabled`
#
{ config, lib, pkgs, ... }:
let
cfg = config.sane.services.buffyboard;