-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.example
More file actions
49 lines (43 loc) · 2.53 KB
/
Copy pathconfig.example
File metadata and controls
49 lines (43 loc) · 2.53 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# gamepad-osk configuration
[theme]
name = matrix # see --help for full list (60 themes)
[window]
position = bottom # bottom or top
margin = 0 # pixels from screen edge
opacity = 0.95 # 0.0-1.0 (1.0 = fully opaque)
panel_avoid = true # Wayland: respect panel spacing (false = always screen edge)
[keys]
unit_size = 0 # 0 = auto-scale, or fixed pixel size
padding = 4 # pixels between keys
font_size = 0 # 0 = auto-scale relative to unit_size
scale = 50 # percentage of screen width (30-100)
repeat_delay_ms = 400 # ms before key repeat starts (100-2000)
repeat_rate_ms = 80 # ms between repeats (20-500)
[gamepad]
device = # empty = auto-detect, or /dev/input/eventX
grab = true # grab device when visible (prevents input bleed to game)
deadzone = 0.25 # stick deadzone (0.0-1.0)
long_press_ms = 500 # ms to hold for accent popup (100-5000)
swap_xy = auto # auto = detect xpad/xpadneo/xone drivers (default), true = force swap, false = off
mouse_stick = right # left or right - nav uses the other stick
toggle_combo = # built-in show/hide combo (empty = disabled, use --toggle/evsieve)
# format: button+button (2-4 buttons, + separated)
# buttons: a, b, x, y, lb, rb, lt, rt, l3, r3, start, select, guide,
# up, down, left, right (or dpad_up, dpad_down, etc.)
# examples: guide+a, l3+r3, select+start, select+start+lb+rb
combo_period_ms = 200 # ms window for all combo buttons to be held (50-2000)
[gamepad.buttons]
# button names: a, b, x, y, lb, rb, lt, rt, l3, r3, start, select
press = a # press highlighted key
close = b # close keyboard (daemon mode: hides instead)
backspace = x # backspace
space = y # space
shift = lt # shift (hold)
# caps lock and mouse click are auto-assigned to stick clicks based on mouse_stick
enter = rt # enter
left_click = rb # left mouse button (hold to drag)
right_click = lb # right mouse button
position_toggle = start # toggle keyboard top/bottom (empty = disabled)
[mouse]
enabled = true # enable mouse cursor via right stick
sensitivity = 10 # 1-50, higher = faster cursor (Shift+up/down to adjust live)