Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zkyf authored Dec 7, 2021
1 parent 452f541 commit 24981c4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# GamepadMouse
Control your mouse with gamepad

Only tested with Xbox One Controller

setting.json
```
{
"mouse_x_axis": 0, # idx of axis to control cursor x
"mouse_y_axis": 1, # idx of axis to control cursor y
"scroll_x_axis": 2, # idx of axis to control hscroll
"scroll_y_axis": 3, # idx of axis to control vscroll
"move_speed": 2.0, # speed of mouse panning
"scroll_speed": 2.0, # speed of scrolling
"left_key": 0, # btn for mouse left key
"right_key": 1, # btn for mouse right key
"screen_keyboard": 2, # btn to open screen keyboard (ctrl + win + o)
"esc": 3, # btn for esc key
"win_tab": 6, # btn to switch window (win + tab)
"win": 7 # btn to open start menu
}
```

0 comments on commit 24981c4

Please sign in to comment.