# Interactor keyboard mapping file
Format: 2

# The recommended name for this keymapping
Name: US102

# The default country code for this keymapping. Allowing an appropiate default
# keymapping based on the devices country setting to be chosen
Country: en-us

# The number of mappings contained in this file.  This must be the last
# non-keymap entry
Mappings:239

# The keymappings

# Top row
Esc:              Escape [*]
Fn1:              Search,  ToggleKeyboardIMEMode [s], Red [a]
Fn2:              WebHome, ToggleKeypadIMEMode [s],   Green [a], CloseSession [c]
Fn3:              SaveSource, SaveObject [c],  Yellow [a]
Fn4:              F4,             Blue [a]
Fn5:              Reload
Fn6:              Back
Fn7:              Forward
Fn8:              ViewSource
Fn9:              Goto
Fn10:             AddFavourite
Fn11:             Favourites
Fn12:             F12

PrintScreen:      PrintScreen [*]
ScrollLock:
Pause:            Break [s]

# Second Row
Kanji_106:        BackTick, Tilde [s]
1:                1, Exclamation [s]
2:                2, At [s]
3:                3, Hash [s]
4:                4, Dollar [s], Euro [a]
5:                5, Percent [s]
6:                6, Circumflex [s], SelectPreviousKeyMap [c]
7:                7, Ampersand [s], SelectDefaultKeyMap [c]
8:                8, Asterisk [s], SelectNextKeyMap [c]
9:                9, OpenRoundBrackets [s]
0:                0, CloseRoundBrackets [s]
Minus:            Minus, Underscore [s]
Equal_101:        Equals, Plus [s]
Backspace:        BackSpace [~sc], Delete [s], DeleteWordLeft [c]
Insert:           Insert [*]
Home:             Home, SelectLineStart [s], TopOfPage [c], SelectTopOfPage [sc]
PageUp:           PageUp, SelectPageUp [s]


# Third row

Tab:              Tab, CycleSessionsForward [c], CycleSessionsBackward [sc]
Q:                q, Q [s]
W:                w, W [s]
E:                e, E [s]
R:                r, R [s], SummonMenuRight [c], SummonMenuRight [sc]
T:                t, T [s], SummonMenuTop [c], SummonMenuTop [sc]
Y:                y, Y [s], Redo [c]
U:                u, U [s], DeleteLine [c]
I:                i, I [s]
O:                o, O [s], Setup [c]
P:                p, P [s]
LeftBracket_101:  OpenSquareBracket,  OpenBrace [s]
RightBracket_101: CloseSquareBracket, CloseBrace [s]
xHash:            BackSlash, BrokenBar [s]
Delete:           Delete [~s], BackSpace [s]
End:              End, SelectLineEnd [s], EndOfPage [c], SelectEndOfPage [sc] 
PageDown:         PageDown, SelectPageDown [s]

# Fourth row

CapsLock:
A:                a, A [s], SelectAll [c]
S:                s, S [s]
D:                d, D [s]
F:                f, F [s]
G:                g, G [s], Goto [c], Goto[sc]
H:                h, H [s]
J:                j, J [s]
K:                k, K [s], ToggleOnScreenKeyboard [c], OnScreenKeyboardToggleShift [sc]
L:                l, L [s], SummonMenuLeft [c], SummonMenuLeft [sc]
Semicolon:        SemiColon, Colon [s]
Quotation_101:    Apostrophe, DoubleQuotes [s]
RightBracket_106: Hash, Tilde [s]
Enter:            Enter [*]

# Fifth row

LeftShift:        Shift [*]
NonUSBackslash:   BackSlash, BrokenBar [s]
Z:                z, Z [s], Undo [c]
X:                x, X [s], Cut [c]
C:                c, C [s], Copy [c]
V:                v, V [s], Paste [c]
B:                b, B [s], SummonMenuBottom[c], SummonMenuBottom [sc]
N:                n, N [s], NewSession [c]
M:                m, M [s]
Comma:            Comma, LessThan [s]
Period:           Period, GreaterThan [s]
Slash:            Slash, Question [s]
RightShift:       Shift [*]

# Sixth row

LeftControl:      Ctrl [*]
LeftPlatform:     Platform [*]
LeftAlt:          Alt [*]
Space:            Space [*]
RightAlt:         Alt [*]                 
RightPlatform     Platform [*]
Menu:             Menu [*]
RightControl:     Ctrl [*]                        ;0xe4 -> 0x200002

# Cursor keys
UpArrow:          CursorUp, SelectUp [s], WordLeft [c], TopOfPage [a]
LeftArrow:        CursorLeft, SelectLeft [s], WordLeft [c], SelectWordLeft [sc], Back [a], SelectHome [sa]                        ;0x50 -> 0x100006, 0x10001a, 0x100009, 0x10001e, 0x10003b, 0x100020
DownArrow:        CursorDown, SelectDown [s], WordRight [c], EndOfPage [a]
RightArrow:       CursorRight, SelectRight [s], WordRight [c], SelectWordRight [sc], Forward [a], SelectEnd [sa]                  ;0x4f -> 0x100007, 0x10001b, 0x10000a, 0x10001f, 0x10003c, 0x100021

# Keypad

# NumLock
KPAD_NumLock:
KPAD_Slash:       Slash [*]
KPAD_Asterisk:    Asterisk [*]
KPAD_Minus:       Minus [*]

KPAD_7:           7, Home [s]
KPAD_8:           8, CursorUp [s]
KPAD_9:           9, PageUp [s]
KPAD_Plus:        Plus [*]

KPAD_4:           4, CursorLeft [s]
KPAD_5:           5
KPAD_6:           6, CursorRight [s]

KPAD_1:           1, End [s]
KPAD_2:           2, CursorDown [s]
KPAD_3:           3, PageDown [s]

KPAD_0:           0, Insert [s]
KPAD_Period:      Period, Delete [s]
KPAD_Enter:       Enter [*]


#browserkeys

WWWRefresh:		Reload
WWWBack:		Back
WWWForward:		Forward
WWWRefresh:		Reload
WWWStop:		Stop
WWWSearch:		Search
WWWFavourites:	Favourites
WWWHome:		WebHome
WWWMail:		Mail

#Multimedia

MMMute:                   ToggleMute
MMVolumeDown:             VolumeUp
MMVolumeUp:               VolumeDown
MMScanNextTrack:          MediaNext
MMScanPreviousTrack:      MediaPrevious
MMStop:                   MediaStop
MMPlayPause:              MediaPlayPause
MMMediaSelect:            Media

# MouseWheel
xScrollUp:        ScrollUp   [*]
xScrollDown:      ScrollDown [*]

