lynxnb
83bc93601f
Use EFFECT_TICK
instead of CLICK
as OSC vibration effect
2023-04-02 18:16:10 +02:00
lynxnb
88e6fc9888
Implement OSC snap to grid functionality
2023-04-02 18:16:10 +02:00
lynxnb
2794af6d06
OSC: delegate config reset to individual buttons
2023-04-02 18:16:10 +02:00
lynxnb
81eb8fd231
Rework OSC edit mode handling for better extensibility
...
Edit mode configuration parameters are now shared between the view and the buttons in a small `OnScreenEditInfo` object, avoiding variable duplication about edit state. The `editingTouchHandler` has also been simplified to only lookup the button if one wasn't being edited already.
2023-04-02 18:16:10 +02:00
lynxnb
17f45c0366
Retrieve the vibrator service outside of OSC View
...
Retrieving the vibrator service inside the view crashes the layout editor. Fix by retrieving it in the activity and passing it to the view.
2023-04-02 18:16:10 +02:00
lynxnb
b724bc2309
Adjust default OSC opacity and color
2023-03-05 12:45:07 +01:00
KikiManjaro
1282362fce
Add color selection to OSC
...
* Add bold text and antialiasing for osc buttons
* Fix osc dpad and button position (widder than taller)
* Set default OSC color to white background with black text
2023-03-05 12:45:07 +01:00
KikiManjaro
66d2965c63
Fix resetControls for opacity of OSC
2023-03-05 12:45:07 +01:00
Abandoned Cart
b08fcd7027
Favor a predefined "click" over system vibration
2022-12-10 14:57:33 +00:00
Abandoned Cart
cfd3bfecba
Add a rudimentary OSC button vibration setting
2022-12-10 14:57:33 +00:00
lynxnb
cfa5f0e030
Fix OSC alpha not changing on button press
2022-08-20 17:00:40 +02:00
KikiManjaro
3407f6d530
Add OSC opacity adjustment
2022-08-20 13:46:17 +02:00
lynxnb
c4bf92a49f
Fix Kotlin compilation errors from incorrect overloading of null-safe types
2022-08-17 12:16:26 +02:00
Willi Ye
ce60101989
Filter on screen buttons by controller type
2021-06-17 20:30:22 +05:30
Willi Ye
dca632d0d8
Correct reset value of global scale
2021-06-17 20:30:22 +05:30
Willi Ye
4b53a3b1a6
Enable full screen on resume
...
* Fix registering of buttons pairs in OSC with multiple fingers
* Enable OSC by default
* Increased OSC scale by default
2021-06-17 20:30:22 +05:30
Willi Ye
1fae3488ad
Add button pairings to allow simultaneous pressing
2021-06-17 20:30:22 +05:30
Willi Ye
f479aeb4ac
Add comments
2020-11-12 22:19:55 +05:30
Willi Ye
7526a985fb
Use property delegate to handle preferences
...
* Add option to disable joystick recentering
2020-11-12 22:19:55 +05:30
Willi Ye
5c4aa95da6
Add on screen controls layout edit settings
2020-11-12 22:19:55 +05:30
Willi Ye
e023dbbf0a
Add joystick press and general clean up
2020-11-12 22:19:55 +05:30
Willi Ye
3057e4b29a
Add on screen controls
...
* Fix missing default constructor for dialog fragments
2020-11-12 22:19:55 +05:30