special game widgets: YSRB1

This commit is contained in:
TrueZhuangjia authored and TrueZhuanjia committed 2025-03-21 23:14:16 +08:00
1 parent 4f8c5189e0
commit 9ade4b5ae0
3 files changed
+6 -5

No files matched your search

+3 -2
View File
@@ -64,6 +64,7 @@ import UIKit
@objc public static let oscButtonMappings: [String: Int32] = [
"YSRT1" : 0, // RT button & RsvPad in GenshinImpact
"YSRB1" : RB_FLAG, // RB button & RsvPad in GenshinImpact
"YSB1" : B_FLAG, // B button & RsvPad in GenshinImpact
"OSCA" : A_FLAG,
"OSCB" : B_FLAG,
@@ -95,8 +96,8 @@ import UIKit
@objc public static let nonVectorStickPads: [String] = ["LSPAD", "RSPAD"]
@objc public static let specialOverlayButtonCmds: [String] = ["SETTINGS"]
@objc public static let specialGameWidgets: [String] = ["YSRT1", "YSB1", "YSRT2", "YSB2", "YSEM", "YSML", "YSMR", "YSWASD"]
@objc public static let yuanshenRsvButtonCmds: [String] = ["YSRT1", "YSB1"]
@objc public static let specialGameWidgets: [String] = ["YSRT1", "YSRB1", "YSB1", "YSRT2", "YSRB2", "YSB2", "YSEM", "YSML", "YSMR", "YSWASD"]
@objc public static let yuanshenRsvButtonCmds: [String] = ["YSRT1", "YSRB1", "YSB1"]
@objc public static let yuanshenMouseMoveButtonCmds: [String] = ["YSEM", "YSML", "YSMR"]
static let keyboardButtonMappings: [String: Int16] = [