fix unicode

This commit is contained in:
MediaMoots 2025-05-22 16:43:17 +08:00
parent 6bc21f13ea
commit ad67d8d7df
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
//
import CoreMotion
import GameController // GCController
import GameController // GCController
// MARK:- Providers
@ -76,7 +76,7 @@ final class DeviceMotionProvider: DSUMotionProvider {
let ay = Float(m.gravity.y + m.userAcceleration.y)
let az = Float(m.gravity.z + m.userAcceleration.z)
// Rotate axes to match Cemuhooks "landscape-left as neutral" convention
// Rotate axes to match Cemuhook's "landscape-left as neutral" convention
let a: SIMD3<Float>
let g: SIMD3<Float>
@ -97,7 +97,7 @@ final class DeviceMotionProvider: DSUMotionProvider {
return nil
}
// Convert gyro rad/s °/s here so the server doesnt have to.
// Convert gyro rad/s °/s here so the server doesn't have to.
let gDeg = g * (180 / .pi)
return DSUMotionSample(timestampUS: currentUS(),

View file

@ -7,7 +7,7 @@
//
import Foundation
import CocoaAsyncSocket // GCDAsyncUdpSocket
import CocoaAsyncSocket // GCDAsyncUdpSocket
import zlib // CRC-32
// MARK:- DSU Motion protocol