206 lines
1.7 KiB
Markdown
206 lines
1.7 KiB
Markdown
# keymap.md
|
|
This documents all options for button mapping.
|
|
A button on the mouse can be mapped to one function out of the following categories:
|
|
- Mousebutton
|
|
- Special function (these affect the mouse)
|
|
- Macros
|
|
- Keyboard key
|
|
- Fire button (simulates multiple button presses)
|
|
- Media controls
|
|
|
|
The following sections list all valid button mappings.
|
|
|
|
## Media controls
|
|
media_play
|
|
media_stop
|
|
media_previous
|
|
media_next
|
|
media_volume_up
|
|
media_volume_down
|
|
media_mute
|
|
|
|
## Fire button (simulates multiple button presses)
|
|
fire:⟨button⟩:⟨repeats⟩:⟨delay⟩
|
|
|
|
⟨button⟩ can be:
|
|
- mouse_left
|
|
- mouse_right
|
|
- mouse_middle
|
|
- a keyboard key
|
|
|
|
⟨repeats⟩ can be 1-255
|
|
⟨delay⟩ can be 1-255
|
|
|
|
## Mousebuttons and special functions
|
|
forward
|
|
backward
|
|
dpi+
|
|
dpi-
|
|
dpi-cycle
|
|
report_rate+
|
|
report_rate-
|
|
scroll_up
|
|
scroll_down
|
|
left
|
|
right
|
|
middle
|
|
profile_switch
|
|
led_mode_switch
|
|
none
|
|
|
|
## Macros (see README.md)
|
|
macro1
|
|
macro2
|
|
macro3
|
|
macro4
|
|
macro5
|
|
macro6
|
|
macro7
|
|
macro8
|
|
macro9
|
|
macro10
|
|
macro11
|
|
macro12
|
|
macro13
|
|
macro14
|
|
macro15
|
|
|
|
## Keyboard keys
|
|
### Modifers
|
|
ctrl_l+
|
|
shift_l+
|
|
alt_l+
|
|
super_l+
|
|
ctrl_r+
|
|
shift_r+
|
|
alt_r+
|
|
super_r+
|
|
|
|
### Keys
|
|
Esc
|
|
F1
|
|
F2
|
|
F3
|
|
F4
|
|
F5
|
|
F6
|
|
F7
|
|
F8
|
|
F9
|
|
F10
|
|
F11
|
|
F12
|
|
PrtSc
|
|
ScrLk
|
|
Pause
|
|
a
|
|
b
|
|
c
|
|
d
|
|
e
|
|
f
|
|
g
|
|
h
|
|
i
|
|
j
|
|
k
|
|
l
|
|
m
|
|
n
|
|
o
|
|
p
|
|
q
|
|
r
|
|
s
|
|
t
|
|
u
|
|
v
|
|
w
|
|
x
|
|
y
|
|
z
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
0
|
|
Tab
|
|
Caps_Lock
|
|
Shift_l
|
|
Ctrl_l
|
|
Alt_l
|
|
Super_l
|
|
Super_r
|
|
Alt_r
|
|
Menu
|
|
Ctrl_r
|
|
Shift_r
|
|
Return
|
|
Backspace
|
|
Caps_Lock
|
|
Space
|
|
Tilde
|
|
Minus
|
|
Equals
|
|
Bracket_l
|
|
Bracket_r
|
|
Backslash
|
|
Semicolon
|
|
Apostrophe
|
|
Comma
|
|
Period
|
|
Slash
|
|
Int_Key
|
|
Right
|
|
Left
|
|
Down
|
|
Up
|
|
Insert
|
|
Home
|
|
PgUp
|
|
Delete
|
|
End
|
|
PgDown
|
|
Num_Slash
|
|
Num_Asterisk
|
|
Num_Minus
|
|
Num_Plus
|
|
Num_Return
|
|
Num_1
|
|
Num_2
|
|
Num_3
|
|
Num_4
|
|
Num_5
|
|
Num_6
|
|
Num_7
|
|
Num_8
|
|
Num_9
|
|
Num_0
|
|
Num_Period
|
|
Num_Lock
|
|
Lang1
|
|
Lang2
|
|
Lang3
|
|
Lang4
|
|
Lang5
|
|
Lang6
|
|
Lang7
|
|
Lang8
|
|
Lang9
|
|
F13
|
|
F14
|
|
F15
|
|
F16
|
|
F17
|
|
F18
|
|
F19
|
|
F20
|
|
F21
|
|
F22
|
|
F23
|
|
F24
|