- legacy osc vibration style

- vibration style ios13 compatibility
- low ios verision UI fixes
This commit is contained in:
TrueZhuanjia
2025-06-22 10:11:11 +08:00
parent 47bae92dd5
commit cd4c5bbc56
10 changed files with 229 additions and 67 deletions
+4
View File
@@ -36,6 +36,8 @@ static const float BUTTON_DIST = 20;
CGFloat _dPadSizeFactor;
}
+ (NSMutableDictionary *)layerVibrationStyleDic;
typedef NS_ENUM(NSInteger, OnScreenControlsLevel) {
OnScreenControlsLevelOff,
OnScreenControlsLevelSimple,
@@ -104,6 +106,8 @@ typedef NS_ENUM(NSInteger, OnScreenControlsLevel) {
@property OnScreenControlsLevel _level;
@property NSMutableArray *OSCButtonLayers;
@property NSMutableDictionary* layerVibrationStyleDic;
+ (NSMutableSet* )touchAddrsCapturedByOnScreenControls;