on screen key test

This commit is contained in:
True Zhuanjia
2024-08-09 18:51:12 +08:00
parent bf1a30505f
commit e2f09d711d
10 changed files with 512 additions and 6 deletions
+1 -1
View File
@@ -457,7 +457,7 @@ static float L3_Y;
// create A button
_aButton.contents = (id) aButtonImage.CGImage;
_aButton.frame = _swapABXY ? bButtonFrame : aButtonFrame;
[_view.layer addSublayer:_aButton];
[_view.layer addSublayer:_aButton]; // rendering OSC Button here
// create B button
_bButton.frame = _swapABXY ? aButtonFrame : bButtonFrame;