aboutsummaryrefslogtreecommitdiff
path: root/linux/sway/hid.m4
diff options
context:
space:
mode:
Diffstat (limited to 'linux/sway/hid.m4')
-rw-r--r--linux/sway/hid.m433
1 files changed, 33 insertions, 0 deletions
diff --git a/linux/sway/hid.m4 b/linux/sway/hid.m4
new file mode 100644
index 0000000..762be21
--- /dev/null
+++ b/linux/sway/hid.m4
@@ -0,0 +1,33 @@
+m4_include(`system.m4')m4_dnl
+
+output eDP-1 {
+ scale m4_ifelse(SYSID, `1', `1.4', `1.0')
+}
+
+input "type:keyboard" {
+ xkb_layout us,no
+ repeat_delay 300
+ repeat_rate 40
+ xkb_capslock disabled
+ xkb_numlock disabled
+}
+
+input "type:touchpad" {
+ pointer_accel 0.0
+ natural_scroll enabled
+ scroll_factor 1.0
+ scroll_method two_finger
+ left_handed disabled
+ tap enabled
+ tap_button_map lrm
+ drag enabled
+ drag_lock disabled
+ dwt enabled
+ middle_emulation enabled
+}
+
+input "type:pointer" {
+ natural_scroll disabled
+ scroll_factor 1.0
+ left_handed disabled
+}