Skip to content

Commit 2c35511

Browse files
Add keyboard control
1 parent 76d0358 commit 2c35511

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

desktop/control/keyboard.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Keyboard
3+
parent: Control
4+
nav_order: 2
5+
---
6+
7+
## Keyboard Controls
8+
9+
When playing the simulator, you can control OpenGolfSim using the keyboard. Below is a list of the available keys:
10+
11+
12+
| Key | Action |
13+
| --- | --- |
14+
| `Arrow Left`/`Arrow Right` | Adjust aim to right or left |
15+
| `Arrow Up`/`Arrow Down` | Increase/decrease aim distance |
16+
| `C` | Display the scorecard |
17+
| `W` | Club Up |
18+
| `Q` | Club Down |
19+
| `V` | Display game FPS (for debugging) |

0 commit comments

Comments
 (0)