default partial alphanumeric_keys modifier_keys
xkb_symbols "basic" {

 name[Group1]= "Indonesian (Latin)";

 key <TLDE> { [ grave, asciitilde ] };
 key <AE01> { [ 1, exclam ] };
 key <AE02> { [ 2, at ] };
 key <AE03> { [ 3, numbersign ] };
 key <AE04> { [ 4, dollar ] };
 key <AE05> { [ 5, percent ] };
 key <AE06> { [ 6, asciicircum ] };
 key <AE07> { [ 7, ampersand ] };
 key <AE08> { [ 8, asterisk ] };
 key <AE09> { [ 9, parenleft ] };
 key <AE10> { [ 0, parenright ] };
 key <AE11> { [ minus, underscore ] };
 key <AE12> { [ equal, plus ] };

 key <AD01> { [ q, Q ] };
 key <AD02> { [ w, W ] };
 key <AD03> { [ e, E ] };
 key <AD04> { [ r, R ] };
 key <AD05> { [ t, T ] };
 key <AD06> { [ y, Y ] };
 key <AD07> { [ u, U ] };
 key <AD08> { [ i, I ] };
 key <AD09> { [ o, O ] };
 key <AD10> { [ p, P ] };
 key <AD11> { [ bracketleft, braceleft ] };
 key <AD12> { [ bracketright, braceright ] };

 key <AC01> { [ a, A ] };
 key <AC02> { [ s, S ] };
 key <AC03> { [ d, D ] };
 key <AC04> { [ f, F ] };
 key <AC05> { [ g, G ] };
 key <AC06> { [ h, H ] };
 key <AC07> { [ j, J ] };
 key <AC08> { [ k, K ] };
 key <AC09> { [ l, L ] };
 key <AC10> { [ semicolon, colon ] };
 key <AC11> { [ apostrophe, quotedbl ] };

 key <AB01> { [ z, Z ] };
 key <AB02> { [ x, X ] };
 key <AB03> { [ c, C ] };
 key <AB04> { [ v, V ] };
 key <AB05> { [ b, B ] };
 key <AB06> { [ n, N ] };
 key <AB07> { [ m, M ] };
 key <AB08> { [ comma, less ] };
 key <AB09> { [ period, greater ] };
 key <AB10> { [ slash, question ] };

 key <BKSL> { [ backslash, bar ] };
};




partial alphanumeric_keys
xkb_symbols "phonetic" {

 name[Group1]= "Indonesian (Arab Pegon, phonetic)";

 
 key <TLDE> { [ grave, asciitilde, VoidSymbol, VoidSymbol ] };

 
 key <AE01> { [ Arabic_1, exclam, 1, VoidSymbol ] };
 key <AE02> { [ Arabic_2, at, 2, VoidSymbol ] };
 key <AE03> { [ Arabic_3, numbersign, 3, VoidSymbol ] };
 key <AE04> { [ Arabic_4, VoidSymbol, 4, dollar ] };
 key <AE05> { [ Arabic_5, Arabic_percent, 5, percent ] };
 key <AE06> { [ Arabic_6, asciicircum, 6, VoidSymbol ] };
 key <AE07> { [ Arabic_7, ampersand, 7, VoidSymbol ] };
 key <AE08> { [ Arabic_8, asterisk, 8, VoidSymbol ] };
 key <AE09> { [ Arabic_9, parenright, 9, VoidSymbol ] };
 key <AE10> { [ Arabic_0, parenleft, 0, VoidSymbol ] };
 key <AE11> { [ minus, Arabic_tatweel, VoidSymbol, underscore ] };
 key <AE12> { [ equal, plus, VoidSymbol, VoidSymbol ] };

 
 key <AD01> { [ Arabic_qaf, Arabic_maddaonalef, VoidSymbol, VoidSymbol ] };
 key <AD02> { [ Arabic_waw, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AD03> { [ Arabic_alefmaksura, Arabic_ain, VoidSymbol, VoidSymbol ] };
 key <AD04> { [ Arabic_ra, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AD05> { [ Arabic_teh, Arabic_tehmarbuta, Arabic_tah, VoidSymbol ] };
 key <AD06> { [ Arabic_yeh, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AD07> { [ Arabic_hamzaonwaw, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AD08> { [ Arabic_hamzaonyeh, Arabic_hamzaunderalef, VoidSymbol, VoidSymbol ] };
 key <AD09> { [ Arabic_hamza, U0674, VoidSymbol, VoidSymbol ] }; 
 key <AD10> { [ Arabic_veh, VoidSymbol, VoidSymbol, VoidSymbol ] }; 
 key <AD11> { [ bracketright, braceright, VoidSymbol, VoidSymbol ] };
 key <AD12> { [ bracketleft, braceleft, VoidSymbol, VoidSymbol ] };

 
 key <BKSL> { [ backslash, bar, VoidSymbol, VoidSymbol ] };

 
 key <AC01> { [ Arabic_alef, Arabic_hamzaonalef, VoidSymbol, VoidSymbol ] };
 key <AC02> { [ Arabic_seen, Arabic_sheen, Arabic_sad, VoidSymbol ] };
 key <AC03> { [ Arabic_dal, VoidSymbol, Arabic_dad, VoidSymbol ] };
 key <AC04> { [ Arabic_feh, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AC05> { [ U0762, U06a0, Arabic_ghain, U06af ] }; 
 key <AC06> { [ Arabic_ha, Arabic_hah, VoidSymbol, VoidSymbol ] };
 key <AC07> { [ Arabic_jeem, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AC08> { [ Arabic_keheh, Arabic_kaf, VoidSymbol, VoidSymbol ] }; 
 key <AC09> { [ Arabic_lam, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AC10> { [ Arabic_semicolon, colon, semicolon, VoidSymbol ] };
 key <AC11> { [ 0x10000ab, 0x10000bb, apostrophe, quotedbl ] }; 

 
 key <LSGT> { [ bar, brokenbar, VoidSymbol, VoidSymbol ] };

 
 key <AB01> { [ Arabic_zain, Arabic_thal, Arabic_zah, VoidSymbol ] };
 key <AB02> { [ Arabic_khah, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AB03> { [ Arabic_tcheh, VoidSymbol, VoidSymbol, VoidSymbol ] }; 
 key <AB04> { [ Arabic_theh, VoidSymbol, VoidSymbol, U06cf ] }; 
 key <AB05> { [ Arabic_beh, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AB06> { [ Arabic_noon, U06bd, VoidSymbol, VoidSymbol ] }; 
 key <AB07> { [ Arabic_meem, VoidSymbol, VoidSymbol, VoidSymbol ] };
 key <AB08> { [ Arabic_comma, greater, comma, 0x100066b ] }; 
 key <AB09> { [ period, less, Arabic_fullstop, 0x100066c ] }; 
 key <AB10> { [ slash, Arabic_question_mark, 0x100060d, question ] }; 

 include "level3(ralt_switch)"
};





partial alphanumeric_keys
xkb_symbols "phoneticx" {

 include "id(phonetic)"
 name[Group1]= "Indonesian (Arab Pegon, extended phonetic)";

 
 key <AE01> { [ NoSymbol, NoSymbol, NoSymbol, Arabic_superscript_alef ] };
 key <AE09> { [ NoSymbol, NoSymbol, NoSymbol, 0x100fd3e ] }; 
 key <AE10> { [ NoSymbol, NoSymbol, NoSymbol, 0x100fd3f ] }; 

 
 key <AD02> { [ NoSymbol, NoSymbol, Arabic_shadda, NoSymbol ] };
 key <AD03> { [ NoSymbol, NoSymbol, 0x10008e6, 0x10008e4 ] }; 
 key <AD07> { [ NoSymbol, NoSymbol, Arabic_damma, Arabic_dammatan ] };
 key <AD08> { [ NoSymbol, NoSymbol, Arabic_kasra, Arabic_kasratan ] };
 key <AD09> { [ NoSymbol, NoSymbol, 0x100065d, NoSymbol ] }; 

 
 key <AC01> { [ NoSymbol, NoSymbol, Arabic_fatha, Arabic_fathatan ] };
 key <AC07> { [ NoSymbol, NoSymbol, 0x10008f8, NoSymbol ] }; 

 
 key <AB02> { [ NoSymbol, NoSymbol, 0x100065b, 0x100065C ] }; 
 key <AB03> { [ NoSymbol, NoSymbol, Arabic_sukun, 0x10006E1 ] }; 
};
