Thursday, November 17, 2011

Add Arrow Keys to Your Touchpad Keyboard

Credit goes to Maverickz@precentral



INSTALL INSTRUCTIONS:

Let's begin.

First of all, you must enable developer mode on your TouchPad. To do this, just tap the Just Type and enter this code: webos20090606
The developer mode application will appear in the search results. Open it and turn on developer mode, DO NOT set a password. It is recommended to restart your device after that.
Install Preware if it isn't already installed: Application:Preware - WebOS Internals

You also need a command line tool to access the device's Linux operating system later on this guide. You can either use novaterm which is installed as part of the official webOS SDK, or you can use the command tool that is built in to the webOS Quick Install (WOSQI) that you used to install Preware earlier. I have received reports that this DOES NOT work with XTerm but it may work with other command line tools. I have not tried them all to see.

The installation:
- Download keypatch.rar.
- Unzip this wherever you want on your hard drive. It should create a subfolder named keypatch. This is the script needed to install the patch.
- Download the qwertyarrows.zip file from the link at the end of this post.
- Unzip the qwertyarrows.zip file into the keypatch folder created earlier.
- Connect your TouchPad to your computer and select the USB Drive option on the TouchPad's screen. This will create a new drive letter in Windows Explorer for your TP (remember this drive letter).
- Copy the keypatch folder to your TouchPad.
- Disconnect your TouchPad by right clicking the drive icon for the TP in Windows Explorer and selecting Eject.
- Remove and reconnect the USB cable from your TouchPad but this time hit "Close" on the USB Drive prompt.
- Open a command window using novaterm or WOSQI.
--- If you installed the SDK, the default path for novaterm is c:\program files\palm inc.\terminal. Double-click the novaterm.bat file to open novaterm, click the File menu and select "Connect".
---If you did NOT install the SDK, you can use the WOSQI tool. Open WOSQI, click the Tools menu and select "Linux Commandline".
- Navigate to the keypatch directory by typing cd /media/internal/keypatch and press Enter.
- Create a template file by typing sh patch.sh generate and press Enter.
- Apply the patch by typing sh patch.sh patch qwertyarrows.json and press Enter.

Be patient. This process might take about 10 minutes. When this completes it should reboot the operating system automatically.

- When done, close the command window, disconnect the USB cable and enjoy your more functional virtual keyboard.

UNINSTALL INSTRUCTIONS:
Should you ever want to revert to the stock virtual keyboard you can do so as follows.
- Connect the USB cable to your TouchPad and hit "Close" on the USB Drive prompt.
- Open the command window as you did to perform the install.
- Navigate to the keypatch directory by typing cd /media/internal/keypatch and press Enter.
- Type sh patch.sh revert and press Enter. This process will take couple of minutes and when it completes it will reboot the OS and the keyboard will be back to normal.

DIY KEY CODES:
For advanced users that know how to and want to modify their own keyboard layout files here are the known control key codes. They are all Type = "S". At this time I have tested all codes up to 0033 and this is all I have found that was useful. I am still looking for cut/copy/paste functionality.

0001 Tab
0003 Backspace
0004 Enter
0010 Home
0011 End
0012 Left Arrow
0013 Up Arrow
0014 Right Arrow
0015 Down Arrow
0016 Page Up
0017 Page Down
0020 Shift
0023 +=[]

2 comments:

  1. "- Download the qwertyarrows.zip file from the link at the end of this post."

    Don't see any link.

    ReplyDelete
  2. Nice and very helpful information i have got from your post. Even your whole blog is full of interesting information which is the great sign of a great blogger.

    HP - Pavilion 14" Chromebook - 4GB Memory - 16GB Solid State Drive - Sparkling Black

    HP - ENVY 15.6" Laptop - 6GB Memory - 750GB Hard Drive - Silver

    ReplyDelete