Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

mikmod: Invert scrolling on everything that's not an ipod

mikmod uses WPS_VOLUP and WPS_VOLDOWN to scroll down and up
respectively, which works for the ipod clickwheel, but results in
inverted scrolling for everyone else. Correct this for all non-ipods
and correct the manul (which actually didn't report this either)

Change-Id: I5a84512dfbf068ca5c4206f4362185d4d7e5c9fc

+10 -2
+8
apps/plugins/mikmod/mikmod.c
··· 790 790 button = rb->get_action(CONTEXT_WPS, TIMEOUT_NOBLOCK); 791 791 switch (button) 792 792 { 793 + #ifdef HAVE_SCROLLWHEEL 793 794 case ACTION_WPS_VOLUP: 795 + #else 796 + case ACTION_WPS_VOLDOWN: 797 + #endif 794 798 if ( display != DISPLAY_INFO ) 795 799 { 796 800 if ( textlines-vscroll >= MAX_LINES ) ··· 804 808 rb->adjust_volume(1); 805 809 break; 806 810 811 + #ifdef HAVE_SCROLLWHEEL 807 812 case ACTION_WPS_VOLDOWN: 813 + #else 814 + case ACTION_WPS_VOLUP: 815 + #endif 808 816 if ( display != DISPLAY_INFO ) 809 817 { 810 818 if ( vscroll > 0 )
+2 -2
manual/plugins/mikmod.tex
··· 6 6 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD% 7 7 ,IAUDIO_X5_PAD,MROBE100_PAD,PBELL_VIBE500_PAD,SANSA_FUZEPLUS_PAD,SAMSUNG_YH92X_PAD% 8 8 ,SAMSUNG_YH820_PAD}{\ButtonUp/ \ButtonDown} 9 - \opt{IPOD_3G_PAD,IPOD_4G_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonScrollFwd/ \ButtonScrollBack} 9 + \opt{IPOD_3G_PAD,IPOD_4G_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonScrollBack/ \ButtonScrollFwd} 10 10 \opt{IRIVER_H10_PAD,MPIO_HD300_PAD}{\ButtonScrollUp/ \ButtonScrollDown} 11 11 \opt{SANSA_C200_PAD,SANSA_CLIP_PAD,MPIO_HD200_PAD}{\ButtonVolUp/ \ButtonVolDown} 12 12 \opt{COWON_D2_PAD}{\TouchTopMiddle{} / \TouchBottomMiddle} 13 13 \opt{XDUOO_X3_PAD}{\ButtonVolUp/ \ButtonVolDown} 14 14 \opt{HAVEREMOTEKEYMAP}{& } 15 - & Volume up/ Volume down\\ 15 + & Scroll up/ Scroll down\\ 16 16 % 17 17 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD% 18 18 ,IAUDIO_X5_PAD,MROBE100_PAD,IPOD_3G_PAD,IPOD_4G_PAD,SANSA_E200_PAD%