aboutsummaryrefslogtreecommitdiff
path: root/src/mouse
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-06-24 17:45:50 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-06-24 17:45:50 +0200
commit0b94264a7e5e7c8c1a56f8bba3cbe7a5a63cd38b (patch)
tree720c69b704752c406362407824176fcdd80825c3 /src/mouse
parent904d9e933e59af8493865801584bf748255dc322 (diff)
downloadjancity-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