Cameron Gutman
7c77a385cf
Don't hit test against invisible controls
...
Fixes #568
2023-09-29 02:17:32 -05: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
Cameron Gutman
bc53b4dc32
First stab at fixing on screen controls on various devices
2015-09-28 23:20:27 -07:00
Diego Waxemberg
4d55a6a7e9
missed a file in earlier commit, this actually fixes the on screen control issues
2015-05-31 23:57:04 -07:00
Diego Waxemberg
5a976764c3
now use custom edge swipe detection
2015-05-29 00:46:43 -07:00
Diego Waxemberg
8d3401f962
Changed name from Limelight to Moonlight due to C&D from Limelight
...
Networks, Inc.
2015-05-12 21:48:30 -04:00
Diego Waxemberg
8d3e81ed25
L3/R3 now show up on simple on-screen controls
2015-04-05 18:59:11 -07:00
Diego Waxemberg
e3dd4e7238
Created logger with log levels
2015-02-10 21:26:55 -05:00
Diego Waxemberg
93119f25a6
added support for multiple controllers
2015-02-02 02:42:38 -05:00
Cameron Gutman
514d5d13a0
Fix bug where L3/R3 touch was passed through to become a mouse click
2015-01-09 23:43:11 -05:00
Diego Waxemberg
25d815dcd7
added l3/r3 support to simple on-screen controls
2015-01-09 23:21:46 -05:00
Diego Waxemberg
01902536ab
added L3/R3 support to full on-screen controls
2015-01-09 22:10:32 -05:00
Cameron Gutman
cdaf98398c
Rewrote a bunch of controller support. Added auto on-screen controls layouts (GCGamepad not finished). Added LB+Start and RB+Start shortcuts for select and special (same as Android).
2015-01-09 16:13:44 -05:00
Diego Waxemberg
afb7e930ee
simple on-screen controls now show buttons at the bottom
2015-01-09 14:11:42 -05:00
Diego Waxemberg
7cf521272a
fixed multitouch issue with on-screen controls
2015-01-08 21:04:19 -05:00
Diego Waxemberg
c96a77f1aa
removed comment and fixed color of settings item
2014-12-31 19:13:54 -05:00
Diego Waxemberg
ece113787d
touches to the on screen controls are no longer sent as mouse clicks/movement
2014-12-31 19:03:24 -05:00
Diego Waxemberg
cb93486bb0
implemented dead zone for analog sticks
2014-12-31 19:03:24 -05:00
Diego Waxemberg
809a660506
Added settings for displaying varying levels of the onscreen controls
2014-12-31 19:03:24 -05:00
Diego Waxemberg
7b0a383ad0
added L1/L2, R1/R2, Start, and Select buttons to on-screen controls
2014-12-31 18:55:31 -05:00
Diego Waxemberg
2cb1acc611
Added analog sticks to onscreen controls
2014-12-31 18:55:31 -05:00
Diego Waxemberg
d6d30f021d
started implementing on-screen controls
...
- directional pad works
- a,b,x,y work
2014-12-31 18:55:31 -05:00