|
|
ViewsInternet:Microb Hardware Key bindingsFrom Internet Tablet TalkUsing the d-pad to scroll pages in Microb webbrowserBy default in Microb the dpad (the four arrow buttons with the square button in the middle) is configured to scroll line by line, and the middle button acts as a return. By making the configuration changes below you can use the 'up' and 'down' and the middle button to scroll whole pages instead. Source: forum post by dblank
sudo gainroot You are now using the root account, visible by the '#' instead of the normal '$' sign. Be aware that while using the root account you can change (or mess up) anything on the system.
invoke-rc.d tablet-browser-daemon stop nano /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"/> If you also want to use the middle button to scroll forward add the line: <handler event="keypress" keycode="VK_RETURN" command="cmd_movePageDown"/> Instead of 'cmd_movePageDown' you can also use 'cmd_scrollPageDown' to scroll forward smoothly. type 'ctrl, x, y' to save and close the file.
nano /home/user/.mozilla/microb/prefs.js change user_pref("snav.enabled", true);
to: user_pref("snav.enabled", false);
chown user:users /home/user/.mozilla/microb/prefs.js invoke-rc.d tablet-browser-daemon start exit Furthermore smooth scrolling can be enabled to show the cmd_scrollPageDown act as real scrolling instead of skipping forward. |