Skip to content

Commit

Permalink
Attempt to fix Volume Up/Down
Browse files Browse the repository at this point in the history
Changed to actual key map values - still doesn't work!  Assume there's a problem with actual volume up/down function in code which will need investigating.
  • Loading branch information
andymcca authored Nov 20, 2022
1 parent 070ebe5 commit e0cc3ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions input.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ gui_action_type get_gui_input()

switch(ev.code)
{
case KEY_M:
case KEY_ENTER:
gui_action = CURSOR_EXIT;
break;

Expand Down Expand Up @@ -472,7 +472,7 @@ u32 update_input()
switch(ev.type) {
case POX_KEYDOWN:
switch (ev.code) {
case KEY_M:
case KEY_ENTER:
// Reggie, I R teh copy from the psp update_input
{
u16 *screen_copy = copy_screen();
Expand All @@ -483,13 +483,13 @@ u32 update_input()
}
// nirvous
//this should really jump to the menu...
case 115: //VolumeUp
case 22: //VolumeUp
gp2x_sound_volume(1);
break;
case 114: //VolumeDown
case 32: //VolumeDown
gp2x_sound_volume(0);
break;
case 'x':
case KEY_X:
fps_debug ^= 1;
break;
default:
Expand Down

0 comments on commit e0cc3ca

Please sign in to comment.