5,603,920 Members 42,236 Now Online
XDA Developers Android and Mobile Development Forum

TF701T Keyboard dock: Scan-codes list

Tip us?
 
skod
Old
#1  
Junior Member - OP
Thanks Meter 4
Posts: 2
Join Date: Feb 2014
Info TF701T Keyboard dock: Scan-codes list

As I'd like to use my tablet as a "thin-client" i.e. desktop terminal to my server, I need keys like "return" to act as "escape" and "lock" as "delete" etc. So I changed the mappings in "/system/usr/keylayout/asuspec.kl".

In the case someone else would be interested in remapping their keyboard, I have compiled a list of scan-codes associated with each physical key.
This though with the exception of the "Fn" key, which I suspect function on a purely hardware based level to alter key scan-codes.
This list is based on a "nordic" layout (not sure if physical layout differs?), but I refer to each key as R#C#, row number and column number, starting from 0.

Code:
 
Scan  Row/      Description         Suggested mapping
Code  Col 
*********************** ROW: 0 ***********************
158   R0C0      Back                ESCAPE WAKE
238   R0C1      Wireless            F1
237   R0C2      Bluetooth           F2
 60   R0C3      Touchpad            F3
224   R0C4      Brightness-down     F4  
225   R0C5      Brightness-up       F5
 61   R0C6      Brightness-auto     F6
212   R0C7      Screenshot          F7
150   R0C8      Browser             F8
 62   R0C9      Settings            F9
165   R0C10     Media-previous      F10
164   R0C11     Media-play/pause    F11 
163   R0C12     Media-next          F12
113   R0C13     Mute                INSERT
114   R0C14     Volume-down         MOVE_HOME
115   R0C15     Volume-up           MOVE_END
142   R0C16     Lock                FORWARD_DEL WAKE
*********************** ROW: 1 ***********************
 41   R1C0            
  2   R1C1      1
  3   R1C2      2
  4   R1C3      3
  5   R1C4      4
  6   R1C5      5
  7   R1C6      6
  8   R1C7      7
  9   R1C8      8
 10   R1C9      9
 11   R1C10     0
 12   R1C11     +
 13   R1C12     
 14   R1C13     Backspace  
*********************** ROW: 2 ***********************
 15   R2C0      Tab
 16   R2C1      Q
 17   R2C2      W
 18   R2C3      E
 19   R2C4      R
 20   R2C5      T
 21   R2C6      Y
 22   R2C7      U
 23   R2C8      I
 24   R2C9      O
 25   R2C10     P
 26   R2C11       
 27   R2C12     
 28   R2C13     Enter
*********************** ROW: 3 ***********************
 58   R3C0      Caps-lock
 30   R3C1      A
 31   R3C2      S
 32   R3C3      D
 33   R3C4      F
 34   R3C5      G
 35   R3C6      H
 36   R3C7      J
 37   R3C8      K
 38   R3C9      L
 39   R3C10     
 40   R3C11     
 43   R3C12     '
 28   R3C13     Enter
*********************** ROW: 4 ***********************
 42   R4C0      Shift (left)
 86   R4C1      <
 44   R4C2      Z
 45   R4C3      X
 46   R4C4      C
 47   R4C5      V
 48   R4C6      B
 49   R4C7      N
 50   R4C8      M
 51   R4C9      ,
 52   R4C10     .
 53   R4C11     -
 54   R4C12     Shift (Right)
103   R4C13     Arrow (Up)
104   R4C13Fn   Page up
  ?   R4C14     Fn (Right)
*********************** ROW: 5 ***********************
 29   R5C0      Ctrl (Left)
  ?   R5C1      Fn (left)
172   R5C2      Home                META_LEFT
217   R5C3      Search              ALT_LEFT
 57   R5C4      Space
100   R5C5      AltGr 
139   R5C6      Menu
97    R5C7      Ctrl (Right)
105   R5C8      Arrow (Left)
102   R5C8Fn    Home
108   R5C9      Arrow (Down)
109   R5C9Fn    Page down
106   R5C10     Arrow (Right)
107   R5C10Fn   End
Hope this is going to save someone some time
The Following 3 Users Say Thank You to skod For This Useful Post: [ Click to Expand ]
 
skod
Old
#2  
Junior Member - OP
Thanks Meter 4
Posts: 2
Join Date: Feb 2014
So I have been having some trouble getting exactly the experience I wanted.
Turns out that either the VNC client apps didn't support my nordic keyboard layout properly, or it did not support meta keys, or it did not support the altGr key.

I've been through 20+ clients testing this, until I finally decided to try out Jump Desktop, it is a paid app, but everything just works.
This post is written from my fedora20 KVM vm accessed through Jump Desktop VNC.
I can write , @ with AltGr+2 etc. so far everything just works.

Slight latency compared to desktop VNC, but for coding/compiling and browsing it is no problem at all.

Now I just have to get my hands on a micro hdmi adapter so I can try an external monitor, but so far I am very pleased with my TF701T
Solid substitute for my old laptop for my needs, AND I can just pop the screen off and I have a brilliant android tablet
The Following User Says Thank You to skod For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes