diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-06-24 17:45:50 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-06-24 17:45:50 +0200 |
| commit | 0b94264a7e5e7c8c1a56f8bba3cbe7a5a63cd38b (patch) | |
| tree | 720c69b704752c406362407824176fcdd80825c3 /src/mouse | |
| parent | 904d9e933e59af8493865801584bf748255dc322 (diff) | |
| download | jancity-0b94264a7e5e7c8c1a56f8bba3cbe7a5a63cd38b.tar.gz | |
camera: implement fixed cursor movement
On platforms with PERIPHERAL_TYPE_PAD, navigating through menus and
options can be cumbersome if moving the cursor freely around the
screen.
Therefore, this commit instead defines a list of (X, Y) coordinates that
the cursor can jump to. The implementation also attempts to guess which
direction the cursor should jump to for the previous/next point, and
hence determine which button should be pressed by the user.
Diffstat (limited to 'src/mouse')
0 files changed, 0 insertions, 0 deletions
