# HG changeset patch # User nenolod # Date 1132975744 28800 # Node ID bfee3129143ead9dcaa076156130abb948cd3363 # Parent 1ce5afec0db11acce343da28c56e66111b319386 [svn] Add Winamp-style numeric keypad shortcut key support. diff -r 1ce5afec0db1 -r bfee3129143e Plugins/Input/aac/libmp4v2/Makefile.am --- a/Plugins/Input/aac/libmp4v2/Makefile.am Fri Nov 25 14:57:51 2005 -0800 +++ b/Plugins/Input/aac/libmp4v2/Makefile.am Fri Nov 25 19:29:04 2005 -0800 @@ -82,6 +82,8 @@ rtphint.cpp \ rtphint.h +libmp4v2_la_LDFLAGS = -lstdc++ + EXTRA_DIST = API_CHANGES \ INTERNALS \ libmp4v260.dsp \ diff -r 1ce5afec0db1 -r bfee3129143e audacious/mainwin.c --- a/audacious/mainwin.c Fri Nov 25 14:57:51 2005 -0800 +++ b/audacious/mainwin.c Fri Nov 25 19:29:04 2005 -0800 @@ -1181,14 +1181,17 @@ case GDK_Up: case GDK_KP_Up: + case GDK_KP_8: mainwin_set_volume_diff(2); break; case GDK_Down: case GDK_KP_Down: + case GDK_KP_2: mainwin_set_volume_diff(-2); break; case GDK_Left: case GDK_KP_Left: + case GDK_KP_7: if (playlist_get_current_length() != -1) bmp_playback_seek(CLAMP (bmp_playback_get_time() - 5000, 0, @@ -1196,11 +1199,24 @@ break; case GDK_Right: case GDK_KP_Right: + case GDK_KP_9: if (playlist_get_current_length() != -1) bmp_playback_seek(CLAMP (bmp_playback_get_time() + 5000, 0, playlist_get_current_length()) / 1000); break; + case GDK_KP_4: + playlist_prev(); + break; + case GDK_KP_6: + playlist_next(); + break; + case GDK_KP_Insert: + mainwin_jump_to_file(); + break; + case GDK_KP_5: + mainwin_play_pushed(); + break; case GDK_Escape: mainwin_minimize_cb(); break;