Commit Graph

184 Commits

Author SHA1 Message Date
8dfff999f9 Add rotation slider 2021-03-30 12:40:50 +09:00
8a0fcf20ed Move offset settings up for more logical ordering 2021-03-30 12:32:42 +09:00
86b569f5f7 Fix typo in identifier 2021-03-20 12:37:51 +01:00
d28bed6ed2 Schedule adding transforms on tablet changes
Fixes `InvalidThreadForMutationException`s that pop up when
disconnecting/reconnecting tablets during the game's operation. In those
cases the value change callback executes from  an OpenTabletDriver
thread.
2021-03-20 12:37:48 +01:00
63cbac3bd0 Ensure aspect ratio slider gets an initial value 2021-03-19 20:15:29 +09:00
6f32c302eb Add checkbox to optionally disable tablet handling 2021-03-19 20:13:51 +09:00
86b229b1c9 Increase maximum usable aspect ratio to account for ultrawide monitors 2021-03-19 20:05:18 +09:00
fefb007805 Remove no longer relevant comment 2021-03-19 19:01:32 +09:00
1e82033c84 Move bindings to LoadComplete to avoid cross-thread issues 2021-03-19 19:01:32 +09:00
c624aa9397 Only update tablet values on commit 2021-03-19 19:01:32 +09:00
6285dcd1a1 Add arbitrary value to fix FP contains check failures 2021-03-19 19:01:32 +09:00
e8c20bdcb1 Add centre crosshair 2021-03-19 19:01:32 +09:00
fb7d095e4a Show aspect ratio for current usable area 2021-03-19 19:01:32 +09:00
196f95ae54 Update to use new bindables and centered area offset 2021-03-19 19:01:32 +09:00
9d0c8902a6 Fix margins and spacing between sub flowed items 2021-03-19 19:01:32 +09:00
d422a65900 Fix initial tablet size not being initialised 2021-03-19 19:01:32 +09:00
9a6a0f3df5 Add test coverage and better UI handling of no tablet connected scenario 2021-03-19 19:01:32 +09:00
bba25a0182 Tidy up draw hierarchy and bindable logic 2021-03-19 19:01:31 +09:00
932745e5c4 Fix remaining feedback loops 2021-03-19 19:01:31 +09:00
e3bed4c97d Simplify aspect ratio application, add window conforming and direct adjustment 2021-03-19 19:01:31 +09:00
43359553c1 Add aspect ratio display and limiting 2021-03-19 19:01:31 +09:00
9b70f0ee1f Tidy up visual appearance of settings and add a reset button 2021-03-19 19:01:31 +09:00
2dc2cb04c3 Fix bounds check becoming false when using full area 2021-03-19 19:01:31 +09:00
464702182d Consume device name 2021-03-19 19:01:31 +09:00
94f184d113 Add feedback when area extends beyond tablet size 2021-03-19 19:01:31 +09:00
0a6525baee Fix slider bars reloading each time the tablet size is changed 2021-03-19 19:01:31 +09:00
3b7edf1333 Make tablet display always fit to size of settings area 2021-03-19 19:01:31 +09:00
d026c8da85 Initial pass of configuration interface 2021-03-19 19:01:31 +09:00
fccd495f27 Remove obsoleted setting for now 2021-03-17 18:07:51 +09:00
03230edcb1 Update bindings settings to handle the new structure and show all handlers 2021-03-12 18:38:16 +09:00
3c21c83cc8 Rename KeyboardSection to BindingSection 2021-03-12 18:36:28 +09:00
132fcda089 Force config sensitivity value to local setting bindable
Re-enable the local bindable to update the sensitivity value then change back to whatever state it was in previously.
2021-03-04 17:00:44 +03:00
534e16237a Remove unnecessary intial construction of bindable 2021-03-03 20:36:41 +09:00
002646370c Move bindable logic in MouseSettings to LoadComplete 2021-03-03 16:47:42 +09:00
6372a0265a Fix confine mode dropdown becoming visible again after filtering
Changes from a hidden to a disabled state, with a tooltip explaining
why.

Closes #11851.
2021-03-02 17:44:58 +09:00
f4eb17d398 Update osu.Game/Overlays/Settings/Sections/Input/MouseSettings.cs
Set mouse confine mode at initialization

Co-authored-by: Dean Herbert <pe@ppy.sh>
2020-12-07 16:09:14 +09:00
2469608c10 Fix possible null reference due to bindable change before variable is initialized 2020-12-07 15:19:18 +09:00
71edada623 Hide confine setting entirely in fullscreen 2020-12-05 22:15:41 +01:00
7fd385efe6 Remove unused using directive 2020-12-02 20:01:58 +01:00
a2a10d4e13 Don't use nameof(MouseHandler) 2020-12-02 19:45:59 +01:00
bbde1f6b9c Fix MouseHandler not being ignored when raw input is enabled 2020-12-02 18:56:59 +01:00
ec12a21088 Merge branch 'master' into confine-during-gameplay
# Conflicts:
#	osu.Game/Overlays/Settings/Sections/Input/MouseSettings.cs
2020-10-07 11:07:00 +10:30
9d7880afda Make SettingsItem conform to IHasCurrentValue 2020-10-06 17:18:54 +09:00
322d179076 Replace settings item with osu! confine cursor mode 2020-08-16 11:04:28 +09:30
9d3df14179 Remove unused variable 2020-05-16 11:03:27 +09:00
c47f02c3b7 Update second instance of disabling bindable 2020-05-16 08:24:02 +09:00
aec2520ef4 Avoid disabling a host-level bindable from osu! code 2020-05-15 17:31:06 +09:00
997ce397ef Disable raw input toggle on all but windows 2020-03-23 12:48:05 +09:00
a86fb2113e fix tooltip capitalization 2020-01-14 14:26:54 -05:00
7553e2da25 Fix incorrect DI reference and update naming of SettingsOverlay classes 2019-05-14 10:45:05 +09:00