# Interactor keyboard mapping file
Format: 2

# The recommended name for this keymapping
Name: Arabic

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

# The Bi-Di direction which input using this keymapping will be entered into
# any editable context - in this case this is Right-To-Left (RTL)
Direction: RTL


# The keymappings

# Top row
Esc:              Escape [*]
Fn1:              Search,  ToggleKeyboardIMEMode [s], Red [a]
Fn2:              WebHome, ToggleKeypadIMEMode [s],   Green [a]
Fn3:              Stop,    Yellow [a]
Fn4:              Back,    Blue [a]
Fn5:              Reload
Fn6:              Forward
Fn7:              Favourites
Fn8:              F8
Fn9:              F9
Fn10:             F10
Fn11:             F11
Fn12:             F12

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

# Second Row
Kanji_106:        U+0630, U+0651 [s]
1:                U+0661
2:                U+0662
3:                U+0663
4:                U+0664
5:                U+0665
6:                U+0666, SelectPreviousKeyMap [c]
7:                U+0667, SelectDefaultKeyMap [c]
8:                U+0668, SelectNextKeyMap [c]
9:                U+0669, CycleKeyMaps [c]
0:                U+0660
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 [*]
Q:                U+0636
W:                U+0635
E:                U+062B
R:                U+0642, SummonMenuRight [c], SummonMenuRight [sc]
T:                U+0641
Y:                U+063A, Redo [c]
U:                U+0639
I:                U+0647, U+00F7 [s]
O:                U+062E, U+0ED7 [s], Setup [c]
P:                U+062D, U+061B [s]
LeftBracket_101:  U+062C, GreaterThan [s]
RightBracket_101: U+062F, LessThan [s]
xHash:            Hash, Euro [s]
Delete:           Delete [~s], BackSpace [s]
End:              End, SelectLineEnd [s], EndOfPage [c], SelectEndOfPage [sc] 
PageDown:         PageDown, SelectPageDown [s]

# Fourth row

CapsLock:
A:                U+0634, U+0650 [s], SelectAll [c]
S:                U+0633
D:                U+064A
F:                U+0628
G:                U+0644, U+FEF7 [s], Goto [c], Goto[sc]
H:                U+0627, U+0623 [s]
J:                U+062A, U+0640 [s]
K:                U+0646, U+060C [s], ToggleOnScreenKeyboard [c], OnScreenKeyboardToggleShift [sc]
L:                U+0645, Slash [s], SummonMenuLeft [c], SummonMenuLeft [sc]
Semicolon:        U+0643
Quotation_101:    U+0637
Enter:            Enter [*]

# Fifth row

LeftShift:        Shift [*]
Z:                U+0626, Undo [c]
X:                U+0621, Cut [c]
C:                U+0624, Copy [c]
V:                U+0631, Paste [c]
B:                U+FEFB, U+FEF5 [s]
N:                U+0649, U+0622 [s]
M:                U+0629
Comma:            U+0648, Comma [s]
Period:           U+0632, Period [s]
Slash:            U+0638, U+061F [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 [*]
