Skip to content

Commit 5540d81

Browse files
committed
qtm: clarify documentation some more
1 parent a8dbe6d commit 5540d81

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libctru/include/3ds/services/qtm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* done via a TI TCA6416A I2C->Parallel expander (highlighted in yellow in this teardown photo:
1616
* https://guide-images.cdn.ifixit.com/igi/IKlW6WTZKKmapYkt.full, with the expected 12 traces
1717
* being clearly visible near the ribbon cable slot); the parallax barrier polarity and pattern
18-
* is dithered by software approximately every frame.
18+
* is dithered by software approximately every 10ms (corresponding to one gyro sample).
1919
* - updating the barrier position according to head tracking data relative to an optimal setting
2020
* stored in calibration data: this is what Nintendo calls "Super Stable 3D" (SS3D); not done
2121
* when in 2D mode

libctru/include/3ds/services/qtmc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Result QTMC_StopHardwareCheck(void);
5252
* QTM's expander management thread repeatedly writes (on every loop iteration) the current mask pattern
5353
* plus polarity bit, whether it is normally set or overridden by `qtm:c`, then on the following set,
5454
* negates both (it writes pattern ^ 0x1FFF). This is done at all times, even it 2D mode. This software-
55-
* controlled dithering seems to at every sampling interval, about 60 times per second (I couldn't
56-
* formally verify this timing).
55+
* controlled dithering seems to at every sampling interval, about 100 times per second (when it receives
56+
* a new gyro sample).
5757
*
5858
* The register being written to are regId 0x02 and 0x03 (output ports).
5959
* TI TCA6416A I2C->Parallel expander is located on bus I2C1 (PA 0x10161000) device ID 0x40.

0 commit comments

Comments
 (0)