mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
Update VirtualController.swift
This commit is contained in:
parent
e9b862bfce
commit
33fdecf0ad
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue