Skip to content

Commit 9d04f40

Browse files
HID: Update comments
1 parent 1153684 commit 9d04f40

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/core/services/hid.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ void HIDService::getGyroscopeCoefficient(u32 messagePointer) {
118118

119119
// The volume here is in the range [0, 0x3F]
120120
// It is read directly from I2C Device 3 register 0x09
121-
// Since we currently do not have audio, set the volume a bit below max (0x30)
122121
void HIDService::getSoundVolume(u32 messagePointer) {
123122
log("HID::GetSoundVolume\n");
124123
constexpr u8 volume = 0x30;
@@ -237,7 +236,7 @@ void HIDService::updateInputs(u64 currentTick) {
237236

238237
// For some reason, the original developers decided to signal the HID events each time the OS rescanned inputs
239238
// Rather than once every time the state of a key, or the accelerometer state, etc is updated
240-
// This means that the OS will signal the events even if literally nothing happened
239+
// This means that the OS will signal the events even if nothing happened
241240
// Some games such as Majora's Mask rely on this behaviour.
242241
if (eventsInitialized) {
243242
for (auto& e : events) {

0 commit comments

Comments
 (0)