Support 10-key hardware keyboard for T9

If you wish something new in Smart Keyboard, here is the place to ask!
Post Reply
tokyo_dom
Posts: 1
Joined: Tue Feb 07, 2012 2:57 am
Phone: Sharp 007SH, 2.34 (Gingerbread)

Support 10-key hardware keyboard for T9

Post by tokyo_dom »

Hi,

Is there any chance of supporting a 10-key hardware keyboard layout as found on a few of the latest Japanese android phones for T9 input? They are clam-shell phones (or Slider phones) with a traditional numberpad, but none of the keyboard apps support this (except the stock one of course - and that doesnt have T9).

The API info (including keyboard scan codes etc) can be found here:
https://sh-dev.sharp.co.jp/android/modu ... pi_keycode
Unfortunately it is in Japanese and google doesnt seem to like translating it, but the main table looks like this:

Code: Select all

007SH, 101SH, SH-02D, DM011SH, IS14SH

Hard key                           Keycode name         Code
------------------------------------------------------------------------
Left Softkey (Email key/Emoji key) KEYCODE_SOFT_LEFT	1

Right softkey 
(Browser key/Input mode selector)  KEYCODE_SOFT_RIGHT   2

Up cursor key                      KEYCODE_DPAD_UP      19

Down cursor key                    KEYCODE_DPAD_DOWN    20

Left cursor key                    KEYCODE_DPAD_LEFT    21

Right cursor key                   KEYCODE_DPAD_RIGHT   22

Center cursor key                  KEYCODE_DPAD_CENTER  23

Call button                        KEYCODE_CALL         5

EndCall button
(longpress for power)              KEYCODE_ENDCALL      6

10 key                             KEYCODE_0 to KEYCODE_9    7 to 16

*                                  KEYCODE_STAR         17

#                                  KEYCODE_POUND        18
It could be implemented as an option after the 'Hardware Keyboard' option as a further checkbox to select 'Use numeric keypad for T9'
At the moment all it does is output 1, 2, 3 etc when you tap the numbers with hardware keyboard enabled.

I am using the trial at the moment, but willing to purchase pro (and recommend to others) if this can be implemented. Bonus points for making use of the softkeys for symbols/language selector!
Post Reply