implementation of round custom osc buttons in OnscreenButtonView.swift

This commit is contained in:
TrueZhuangjia committed 2025-01-26 15:17:20 +08:00
1 parent 4e85d3d079
commit 5747656be7
5 files changed
+119 -72

No files matched your search

+10
View File
@@ -179,6 +179,16 @@ static float L3_Y;
[_controllerSupport updateFinished:_controller];
}
- (void) updateLeftTrigger:(unsigned char)input{
[_controllerSupport updateLeftTrigger:_controller left:input];
[_controllerSupport updateFinished:_controller];
}
- (void) updateRightTrigger:(unsigned char)input{
[_controllerSupport updateRightTrigger:_controller right:input];
[_controllerSupport updateFinished:_controller];
}
// sending self as an instance to OnScreenButtonView
- (void)sendInstance{
NSLog(@"OnScreenControls is sending its instance...");