Update VirtualController.swift

This commit is contained in:
MediaMoots 2025-05-31 11:20:37 +08:00
parent e9b862bfce
commit 33fdecf0ad

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
},