All pastes #361963 Raw Edit

Anonymous

public text v1 · immutable
#361963 ·published 2007-02-18 13:05 UTC
rendered paste body
Index: apps/keymaps/keymap-h10.c
===================================================================
--- apps/keymaps/keymap-h10.c   (revision 12394)
+++ apps/keymaps/keymap-h10.c   (working copy)
@@ -62,6 +62,12 @@
     LAST_ITEM_IN_LIST
 }; /* remote_button_context_standard */
 
+static const struct button_mapping button_context_menu[]  = {
+    { ACTION_MENU_WPS,        BUTTON_PLAY,       BUTTON_NONE },
+    
+    LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
+}; /* button_context_menu */
+
 static const struct button_mapping button_context_wps[]  = {
     { ACTION_WPS_PLAY,     BUTTON_PLAY|BUTTON_REL,   BUTTON_PLAY },
     { ACTION_WPS_STOP,     BUTTON_PLAY|BUTTON_REPEAT,BUTTON_PLAY },
@@ -351,8 +357,9 @@
     switch (context)
     {
         case CONTEXT_STD:
+            return button_context_standard;
         case CONTEXT_MAINMENU:
-            return button_context_standard;
+            return button_context_menu;
             
         case CONTEXT_WPS:
             return button_context_wps;