forked from MeloNX/MeloNX
Update VirtualController.swift
This commit is contained in:
parent
386f6a8bd3
commit
f66b0504f8
@ -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
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user