1
0
forked from MeloNX/MeloNX

Update VirtualController.swift

This commit is contained in:
MediaMoots 2025-05-31 11:20:37 +08:00
parent 386f6a8bd3
commit f66b0504f8

View File

@ -69,7 +69,7 @@ class VirtualController : BaseController {
button_mask: 0,
axis_mask: 0,
name: controllername.withCString { $0 },
userdata: nil,
userdata: Unmanaged.passUnretained(self).toOpaque(),
Update: { userdata in
// Update joystick state here
},