View Single Post
Old 04-15-2009, 04:41 AM   #25
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
It is probably enough to change button.c for contenLister:

http://iliad.hpelbers.org/irexdox/co...6e2d2304e0e51f
  • change GDK_F1 to GDK_Page_Down
  • change GDK_F2 to GDK_Page_Up

Code:
...
00783 
00784         case PAGETURN_FORWARD:
00785             CL_LOGPRINTF("PAGETURN_FORWARD");
00786             gdk_threads_enter();
00787             pm_SendKey(GDK_Page_Down);
00788             gdk_threads_leave();
00789             break;
00790 
00791         case PAGETURN_FORWARD | BUTTON_LONG_PRESS:
00792             CL_LOGPRINTF("PAGETURN_FORWARD LONG");
00793             gdk_threads_enter();
00794             pm_SendKey(GDK_F1);
00795             gdk_threads_leave();
00796             break;
00797 
00798         case PAGETURN_BACK:
00799             CL_LOGPRINTF("PAGETURN_BACK");
00800             gdk_threads_enter();
00801             pm_SendKey(GDK_Page_Up);
00802             gdk_threads_leave();
00803             break;
00804 
00805         case PAGETURN_BACK | BUTTON_LONG_PRESS:
00806             CL_LOGPRINTF("PAGETURN_BACK LONG");
00807             gdk_threads_enter();
00808             pm_SendKey(GDK_F2);
00809             gdk_threads_leave();
00810             break;
00811 
00812         case OVERVIEW:
...
hansel is offline   Reply With Quote