View Single Post
Posts: 465 | Thanked: 148 times | Joined on Oct 2007
#11
Originally Posted by TA-t3 View Post
I would like to know if someone has come up with a solution for how to program MicroB to use the D-pad up/down as page up/page down.
Edit: Removed old workaround, this appears to be the proper way to do it:

Close any running browsers.

edit
/usr/lib/microb-engine/chrome/toolkit/content/global/platformHTMLBindings.xml

change
<handler event="keypress" keycode="VK_UP" command="cmd_scrollLineUp" />
<handler event="keypress" keycode="VK_DOWN" command="cmd_scrollLineDown" />
to:
<handler event="keypress" keycode="VK_UP" command="cmd_movePageUp"/>
<handler event="keypress" keycode="VK_DOWN" command="cmd_movePageDown"/>

edit
/home/user/.mozilla/microb/prefs.js

change
user_pref("snav.enabled", true);
to:
user_pref("snav.enabled", false);

Restart browser

Last edited by dblank; 12-27-2007 at 01:33 PM.
 

The Following 35 Users Say Thank You to dblank For This Useful Post: