mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 17:38:38 +00:00
HapticFeedback: fix recovery from the long sleep (minor comment changes)
This commit is contained in:
parent
7b853b5d47
commit
efc52293a8
@ -22,7 +22,7 @@ class HapticFeedback {
|
|||||||
]
|
]
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
// Let's find and init Haptic device
|
// Let's find our Haptic device
|
||||||
possibleDeviceIDs.forEach {(deviceID) in
|
possibleDeviceIDs.forEach {(deviceID) in
|
||||||
guard correctDeviceId == nil else {return}
|
guard correctDeviceId == nil else {return}
|
||||||
let actuatorRef: CFTypeRef? = MTActuatorCreateFromDeviceID(deviceID).takeRetainedValue()
|
let actuatorRef: CFTypeRef? = MTActuatorCreateFromDeviceID(deviceID).takeRetainedValue()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user