Commit Graph
70 Commits
Author SHA1 Message Date
TrueZhuangjia 34659cac70 tweak tap exclusion area size & its default value 2024-10-15 13:00:02 +08:00
TrueZhuangjia f918779fc8 adjustable on screen controller layer transparency 2024-10-15 10:48:53 +08:00
TrueZhuangjia ec29679c02 HD start & select buttons 2024-10-13 22:37:28 +08:00
TrueZhuangjia 962d19f3cb HD dPad buttons 2024-10-13 22:00:49 +08:00
TrueZhuangjia 3bec2d6e65 HD sticks 2024-10-13 19:14:47 +08:00
TrueZhuangjia 571812062f HD OSC round buttons 2024-10-13 17:27:28 +08:00
TrueZhuangjia c4801f9889 deal with invalid sizefactor 2024-10-13 09:15:25 +08:00
TrueZhuangjia ada2e6f480 resizable dPad buttons 2024-10-12 23:56:21 +08:00
TrueZhuangjia fadf023563 resizable on-screen sticks & single layer on-screen controller buttons 2024-10-12 19:32:58 +08:00
TrueZhuangjia 5db6aa0695 Merge branch 'noWaterMark' into buttonSizeTweak 2024-09-24 10:33:24 +08:00
TrueZhuangjia 1ca71bbc11 - Handles tap exclusion area for dPad 2024-09-24 10:32:11 +08:00
TrueZhuangjia 39b8429998 - on-screen button & on-screen controller resize test 2024-09-21 22:48:16 +08:00
TrueZhuangjia 15bc488f71 - Completely refactor relative touch mode: implements quick double tap for dragging, simulates a real note book computer touchpad.
- Onscreen controllers, buttons & touchpad mouse able to work independently without blocking each other
- Tap exclusion area size upto 1000%
2024-09-14 12:29:31 +08:00
TrueZhuangjia 22b4cc6222 - add option to reverse physical mouse wheel direction
- add slider widget to adjust the size of tap exclusion area for on-screen buttons
2024-09-12 23:43:32 +08:00
True Zhuanjia dcdfbc7394 excludes on-screen controller & button taps for mouse scroller gesture in relative touch mode 2024-09-02 22:01:30 +08:00
True Zhuanjia c6b27ad0e0 resolve conflicts between on-screen buttons & tap gestures 2024-08-24 23:29:18 +08:00
True Zhuanjia 747997f46c - Adjust stick style.
- Add + button for iphone
2024-08-23 21:41:29 +08:00
True Zhuanjia ba4af74a9d make on-screen L1/R1 & left & right stick larger by setting option 2024-08-20 21:18:06 +08:00
True Zhuanjia d476f5d75b build 28, change on screen button visual effect color 2024-08-19 01:35:40 +08:00
True Zhuanjia ab3c551357 implements custom on screen keyboard button 2024-08-18 23:29:00 +08:00
True Zhuanjia 29e43979a7 make OSC + native touch works 2024-08-17 18:59:54 +08:00
True Zhuanjia 53e68258f3 2nd time - completely resolving conflict between custom tap gesture & onscreen control taps 2024-08-16 21:45:50 +08:00
True Zhuanjia f0e812e9e2 iterate all customTapGestureRecognizer in OnScreenControls implementation to resolve conflict between tap gesture & osc touch 2024-08-15 21:55:01 +08:00
True Zhuanjia 3c5b6ba795 udpate 2024-08-14 22:44:12 +08:00
True Zhuanjia 6065b4f742 keyboard button profile test 2024-08-11 21:55:29 +08:00
True Zhuanjia d90bf747fc add OSC visual feedback & corresponding menu option.
adjust menu option layout for iPhone
2024-08-10 21:02:35 +08:00
True Zhuanjia ec8095ea9d fix Custom OSC abnormal touch (no response) after editing OSC profile 2024-08-10 11:52:24 +08:00
True Zhuanjia b11849e45b Merge branch 'onScreenKey test' into noWaterMark
# Conflicts:
#	Limelight/Input/ControllerSupport.m
2024-08-09 18:54:38 +08:00
True Zhuanjia e2f09d711d on screen key test 2024-08-09 18:51:12 +08:00
True Zhuanjia 04b68e3a61 test 2024-08-09 18:02:26 +08:00
True Zhuanjia c88753c7e9 HybridNativeTouchMode 2024-07-07 12:19:03 +08:00
True Zhuanjia 0bac5f1ae9 CustomOSC first integration 2024-06-24 23:15:55 +08:00
True Zhuanjia 457a4e8725 Merge commit 'CustomOSCRebase' into CustomOSC-Integration
# Conflicts:
#	Limelight/ViewControllers/SettingsViewController.h
#	Limelight/ViewControllers/SettingsViewController.m
#	Limelight/iPad.storyboard
#	Limelight/iPhone.storyboard
2024-06-24 18:55:20 +08:00
Cameron Gutman 7c77a385cf Don't hit test against invisible controls
Fixes #568
2023-09-29 02:17:32 -05:00
Long Le 6740a7130b includes on screen controls 2023-06-27 14:13:05 -07:00
Cameron Gutman 6678488edc Implement ABXY swap for on-screen controls 2022-07-21 20:54:57 -05:00
Cameron Gutman 3ad4d857e8 Replace home-rolled edge swipe gesture recognizer with UIScreenEdgePanGestureRecognizer 2020-11-01 21:18:06 -06:00
Cameron Gutman 8d127decb6 Shrink and deadzone the edge swipe region for touchscreen mode 2020-11-01 14:28:13 -06:00
Cameron Gutman 967ddd7d68 Refactor OSC handling 2019-10-22 00:16:20 -04:00
Cameron Gutman 9a9b9651a1 Address several iOS and tvOS compilation warnings 2019-09-15 15:46:23 -07:00
Cameron Gutman 918e1248f2 Store GCController in Controller object to allow us to fetch controller attributes later 2019-02-11 18:21:04 -08:00
Cameron Gutman 410d0d367b Fix handling of missing L3 and R3 buttons and adjust on-screen controls based on L3/R3 presence 2018-11-03 14:01:32 -07:00
Cameron Gutman 2cec53ab6b Fix typo in analog stick deadzone area 2018-06-02 01:38:52 -07:00
Cameron Gutman b918005555 Improve OSC usability for iPad. Fixes #317 2018-06-01 22:09:24 -07:00
Cameron Gutman c74fa4d5b0 Change manual simple OSC mode to have useful buttons. Fixes #218 2018-06-01 21:18:41 -07:00
Cameron Gutman 1a71e040c0 Fix deadzones to dynamically detect controls on screen and add a deadzone for the analog sticks 2018-06-01 21:17:47 -07:00
Cameron Gutman 7b3d099449 Use the same Controller object for player 0 and the on-screen controls so tapping on-screen buttons doesn't reset all physical controller input to 0. Fixes pressing L3 to run in some games. 2016-05-22 17:11:30 -05:00
Cameron Gutman 4c7a2cecdd Allow the user to slide between directions on the d-pad. This closes #222 2016-05-08 15:42:08 -04:00
David 983c65d399 Rewrote the Controller class in Swift (#216)
* Enabled Defines Modules for swift code

* Created bridge header, created swift Controller

-  Created Controller.swift
-  Created bridge header for use of objc in swift

* Finished porting Controller files to swift

* Added comments, created MoonlightUnitTest

-  Added comments for Controller.swift
-  Created MoonlightUnitTest for testing new class

* Started writing tests for ControllerUnitTests

-  General formatting
-  Wrote helper functions
-  Wrote tests for first four properties

* Finished writing Controller tests

* Removed commented out lines
2016-04-11 20:44:02 -07:00
Diego Waxemberg e3a42db007 On-screen controls revamp
- controls are bigger
- dead zone around buttons to avoid accidental mouse clicks and movement
- finished implementing control setup for AutoGCGamepad
- swiping to close stream requires swipe to 1/4 the screen width
- no longer send mouse movement if delta is too small
2015-10-17 03:02:55 -07:00