summary refs log tree commit diff
path: root/.config/sway/input.conf
blob: 42b959ba541c98fbec1fb1c04688bb2b17c86625 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# vim: ft=i3

# input club kbd
input "65261:25700:Input_Club_Infinity_keyboard/QMK" {
    # intentionally left blank
}

# planck ez
input "65261:24672:OLKB_Planck" {
    xkb_options 'eurosign:5,lvl3:ralt_switch_multikey'
}

# trackball
input "1149:8264:Primax_Kensington_Eagle_Trackball" {
    # intentionally left blank
}

# pen + tablet
input "10429:148:XP-PEN_STAR_G640_Pen" {
    click_method clickfinger
    middle_emulation disabled
    accel_profile flat
    drag enabled
    tap enabled

    # 331 lower pen button
    # 332 upper pen button
    scroll_method on_button_down
    scroll_button 274

    map_to_output HDMI-A-1
    map_from_region 0.0x0.0 0.3x0.3
}
input "10429:148:XP-PEN_STAR_G640_Mouse" events disabled
input "10429:148:XP-PEN_STAR_G640_Keyboard" events disabled