mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-27 19:06:23 +02:00
fix unicode
This commit is contained in:
parent
6bc21f13ea
commit
ad67d8d7df
2 changed files with 4 additions and 4 deletions
|
@ -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 Cemuhook’s "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 doesn’t have to.
|
||||
// Convert gyro rad/s → °/s here so the server doesn't have to.
|
||||
let gDeg = g * (180 / .pi)
|
||||
|
||||
return DSUMotionSample(timestampUS: currentUS(),
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
|
||||
import Foundation
|
||||
import CocoaAsyncSocket // ‹GCDAsyncUdpSocket›
|
||||
import CocoaAsyncSocket // GCDAsyncUdpSocket
|
||||
import zlib // CRC-32
|
||||
|
||||
//──────────────────────────────────────────────────────────────────────── MARK:- DSU Motion protocol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue