Commit Graph
16 Commits
Author SHA1 Message Date
Henrik Rydgård ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
mrfixit2001andGitHub 27329dc485 Fix menu navigation from axis in linux
Up is down and down is up - mimic the change in android for linux to compensate and correct. Tested and working.
2020-08-13 16:12:27 -04:00
Henrik Rydgård 3fd8f3d86d Add a setting. Various tweaks to sound triggering. 2020-08-03 12:08:11 +02:00
Henrik Rydgård 55eb2844fd Hook up a couple more sounds. Unfortunately clickable back buttons now play both back and confirm sounds... 2020-08-03 12:08:11 +02:00
Henrik Rydgård 5423f76e25 Hook up the first UI sound, make it play. 2020-08-03 12:08:11 +02:00
Henrik Rydgård 34a2713c3f Have DisplayLayoutScreen implemented insets manually. Gave up refactoring it. 2020-05-31 23:23:13 +02:00
Unknown W. Brackets 544576e6c2 UI: Lock around removal from dispatch queue. 2020-05-24 10:57:32 -07:00
Henrik Rydgård 3838a1c94f Support drawing around notches on Android displays. Fixes #12261 2020-03-31 00:47:01 +02:00
Unknown W. Brackets 3bc59b0ef7 Windows: Fix strange build error. 2020-03-23 08:14:36 -07:00
Unknown W. Brackets 89595e0d8f UI: Translate HAT and left analog the same way.
Before, we were resetting our HAT state for each axis we got, so we'd act
like you pressed the arrow more times for each axis your device has.

A similar thing was possible if you had multiple pads.
2020-03-23 07:58:24 -07:00
Henrik Rydgård 819c62e21e Android: Fix upside-down joystick navigation (due to an old sin).
(Android's joystick Y axis is upside down, and we should have corrected it on the Java
side instead of in all our mappings everywhere).
2020-03-10 01:04:26 +01:00
Henrik Rydgård 6fc073ffa7 UI: Simple joystick navigation. Fixes #10996. 2020-03-08 16:52:15 +01:00
Henrik Rydgård 34456773c6 Comment fix 2020-03-08 16:27:01 +01:00
Henrik Rydgård c176c6c114 Also move out the global stuff from view.cpp/h to root.cpp/h 2020-03-08 15:16:32 +01:00
Henrik Rydgård 271f79ea63 UI: Break out the hierarchy functions into ui/root.cpp/h 2020-03-08 14:49:29 +01:00