-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
``` |