TF701T Keyboard dock: Scan-codes list - Asus Transformer TF701

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

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 :good:
Solid substitute for my old laptop for my needs, AND I can just pop the screen off and I have a brilliant android tablet

One of the things that realy troubles me is that all the functionality of the first raw (wifi, bt etc) works without using the FN keys so you can mistakenly turn off the wifi or BT accidently while working or typing fast, happend to me quite a lot of times.
Is there a way to force these keys to be only working when the FN keys is being used? (something like the Shift key functionality)
Also, could you post please your ki file please?

Related

Keys Mapping Addresses ?

Hi All,
I need found keys addresses of front numeric keyboard, joystick and softkeys.
please help.
I found some values when I was fooling around with the hotkeys function of SmartToolkit.
So you could try that too.
I will make iGO8 mod for Smartphones and i need addresses like this :
x25=Joystick Left
x27=Joystick Right
x26=Joystick Up
x28=Joystick Down
x0D=Joystick fire
but for Smartphones like Vox, Libra, Rose...
HEEEELP :'(
I found these values in SmartToolkit Hotkey Menu.
I don't know if it realy means something, but here they are......
Joystick Left = 37
Up = 38
Right = 39
Down = 40
Center = 13
Home = 91
End = 115
Volume Up = 117
Down = 118
Camera = 233
CommManager = 233
0 = 48
1 = 49
2 = 50
3 = 51
4 = 52
5 = 53
6 = 54
7 = 55
8 = 56
9 = 57
ok ... i test it
thx

Excel VB question: re: Arrays

Hey,
I am working on something for work and it has to do with a simple database (excel file) with data kept in rows. This data is accessed using a userform that looks up a query that happens to be the data kept in the first column of the spreadsheet. Basically, each row contains 46 cells, including the first cell (the query).
I am hoping to use the same userform to search, update, save, print and quit excel. So far search works:
Code:
Sub CommandButton1_Click()
dim query as range
set query = range("A:A")
call readData(query.find(TextBox1, lookat:=xlWhole).row)
End Sub
Private Sub readData(x as integer)
Dim boxes as range
set boxes = range("A:A")
TextBox1 = boxes.cells(x).offset(0,0)
TextBox2 = boxes.cells(x).offset(0,1)
....
End Sub
This works fine for search; however, as there is 45 boxes containing different kinds of data, I would rather read the cells from the spreadsheet using a loop and setting the TextBoxN as a static array:
Code:
Sub readData(x as integer)
***** VB treats array(45) as an array having 46 elements *****
dim textBoxArray(45) as [u]Variant[/u]
set textBoxArray = array(TextBox1, TextBox2... TextBox46)
For i = 1 to 46
textBoxArray(i-1) = cells(x, i)
Next i
End Sub
Note that "query.find(TextBox1, lookat:=xlWhole).row" returns the row number of the query and this is passed as an integer to the readData sub-routine and is referred to as "x".
I would like to do this for the read and then do the same, although opposite for the update (i guess I could call it the 'write' back to the excel worksheet).
The problem is, with this code I get an error that says the array is not declared or arranged (Japanese laptop: 配列は割り当てられません。)
Question 1
Any of you developers with any vb experience know how I can correctly declare my array (would be nice if I could decare the array globally so that I don't have to re-declare it for every sub-routine, and I can just use the for loop in each sub-routine)?
At present, all the code is within the userform and I cannot seem to declare outside of a subroutine:
Code:
Public boxArray(45) as Variant
Sub CommandButton_Click()
...
End Sub
Question 2 SOLVED I removed the "set" from the line where I filled the array with each textbox. Tested it again and all data is flowing correctly. Only need question 1 answered.
Thank you.
Hey all, thanks for the replies; I didn't think the thread would be this popular.
I solved the problem with global variables. Instead of setting a fixed array size in the main code section dec area, I found another way of assigning values to all 46 textboxes.
Instead of:
Code:
Dim boxArray(45) as Variant
boxArray(45) = array(TextBox1, TextBox2, ... TextBox46)
then
Code:
For i = 1 to 46
boxArray(i-1) = cells(x,i)
Next i
I used vb's Control method/function (no array necessary):
Code:
For i = 1 to 46
Control("TextBox" + CStr(i)) = cells(x,i)
Next i
So i turned 46+ lines into 6+ lines into 3 lines.
MODS, this thread may be closed. THanks.

genesis plus 'gpp' on a t-mobile wing...

i truly do apologize if this has been posted elesewhere, but i simply could not find anything like it. heres a partial list of keycodes to use in the genesis plus config file, if you want to reconfigure the keys...
a 97
b 98
c 99
d 100
e 101
f 102
g 103
h 104
i 105
j 106
k 107
l 108
m 109
n 110
o 111
p 112
q 113
r 114
s 115
t 116
u 117
v 118
w 119
x 120
y 121
z 122
backspace 8
tab 9
space 32
period 46
up 273
down 274
right 275
left 276
the codes used for the control pad and the arrow keys are the same, but the control pad codes actually rotate if the screen is deployed/slid up, so that when the screen is closed so the keyboard is hidden, the codes are as follows:
up 273
down 274
right 275
left 276
but when the screen is slid out to reveal the keyboard, and you hold it with the keyboard facing you in the typing position, the codes actually change to:
up 276
down 275
right 273
left 274
if you changes these in the genpp config file, it will change the arrow keys as well.
there is a way to see what keys are being pressed, with itty bitty numbers showing up on the screen as the keys are pressed, but i am too blind to see them...

Boot Animation AND Sound

I took the OSE bootanimation.zip and extracted the folders to change the color to red and add sound. Changed color. Fixed desc.txt to play the sound I have in the system/media folder and 7-zipped it back up. Did 7-zip in store mode and not compressed. Replaced bootanimation.zip and it doesn't play the second folder even though everything is the same as before except color change and sound added (which did NOT play). What am I doing wrong?
Sent from my MB886 using xda premium
Does it loop on the first folder?
Oh, and can you upload just the boot animation, I'd like to see it for myself.
53 65 6e 74 20 66 72 6f 6d 20 6d 79 20 41 74 72 69 78 20 48 44 20 75 73 69 6e 67 20 74 61 70 61 74 61 6c 6b 2e 2e 2e
Boot Help
No. It doesn't repeat the first folder.
Thanks,
C
Yeah, I was checking this out yesterday and can't figure out why it won't play the second part...
That and my phone isn't booting at this point... (So I can't keep testing...)
I haven't tried it without sound and I haven't "created" it from Boot Animation Factory, but I'll do it the moment my phone decided it feels like booting again.

My resident evil 2 ink ribbon Item modifier code trick

Infinity ink ribbon gameshark code Claire
800D4A09 0063
* modify the last two digits for whatever you want *
60= MO DISK
50= FILM D
51 = base vaccine
53 = Special Key
54= blue power plug
55= red power plug
56 = cord
58 = cabin key
59 = 1st precinct key
42= bomb and det
43 crank
48 = Eagle metal
49= wolf metal
30= lock pick
32= valve handle
33= red jewel
35= blue card key
36 serpent stone
37 Jaguar stone
38 left half of blue stone
39 right half of blue stone
5E yellow control panel key
5A 2nd precinct Key
5B 3rd precinct Key
5C 4th precinct Key
5D red control panel key
5F power room key
4C main fuse
4E Sherry's vaccine
4F vaccine cartridge
3C Eagle stone
#Infinite Ink Ribbons Leon#
800D4A51 003E
Sent from my SM-T310 using XDA Premium 4 mobile app
Please use the off topic gaming thread for this type of discussion
http://forum.xda-developers.com/showthread.php?t=1279620
thread closed

Categories

Resources