Skip to content

Commit

Permalink
Fix roms scrolling when long press menu button to add a rom in favori…
Browse files Browse the repository at this point in the history
…te (#953)

* Disable quietMainUI

Issue for Onion to suppress the clic clic clic sound : #952

Issue for Miyoo / MainUI to remap the sound on the right shoulder buttons : #880

* Update menuButtonAction.h

deletion of the second occurrence

* Enable silent long press again

Now that tGecko have remapped sound to L2/R2 and no sound to L1/R1 (#959) we can enable again the fake L1 sendkeys to have a silent long press with menu button.

Related issue : #952

Discord RGH conversation : https://discord.com/channels/529983248114122762/1007796369785897090/1123317647212302406

---------

Co-authored-by: Aemiii91 <[email protected]>
Co-authored-by: Aemiii91 <[email protected]>
  • Loading branch information
3 people committed Jun 30, 2023
1 parent f95ec98 commit 804294a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/keymon/menuButtonAction.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ bool terminate_retroarch(void)
void quietMainUI(void)
{
if (system_state == MODE_MAIN_UI) {
print_debug("Sending L2 to quiet MainUI");
keyinput_send(HW_BTN_L2, PRESSED);
keyinput_send(HW_BTN_L2, RELEASED);
print_debug("Sending L1 to quiet MainUI");
keyinput_send(HW_BTN_L1, PRESSED);
keyinput_send(HW_BTN_L1, RELEASED);
print_debug("Done (quietMainUI)");
}
}
Expand Down

0 comments on commit 804294a

Please sign in to comment.