diff --git a/keyboard/marchen_direct_input/1.0/marchen_direct_input-1.0.js b/keyboard/marchen_direct_input/1.0/marchen_direct_input-1.0.js new file mode 100644 index 000000000..c7870fb53 --- /dev/null +++ b/keyboard/marchen_direct_input/1.0/marchen_direct_input-1.0.js @@ -0,0 +1 @@ +if(typeof keyman === 'undefined') {console.log('Keyboard requires KeymanWeb 10.0 or later');if(typeof tavultesoft !== 'undefined') tavultesoft.keymanweb.util.alert("This keyboard requires KeymanWeb 10.0 or later");} else {KeymanWeb.KR(new Keyboard_marchen_direct_input());}function Keyboard_marchen_direct_input(){this._v=(typeof keyman!="undefined"&&typeof keyman.version=="string")?parseInt(keyman.version,10):9;this.KI="Keyboard_marchen_direct_input";this.KN="Marchen Direct Input";this.KMINVER="10.0";this.KV={F:' 1em "Noto Sans Marchen"',K102:0};this.KV.KLS={"default": ["𑲵","1","2","3","4","5","6","7","8","9","0","-","𑲄","","","","𑲌","𑲆","𑲳","𑲊","𑱺","𑲉","𑲲","𑲱","𑲴","𑱾","𑱳","𑱻","𑲂","","","","𑲏","𑲍","𑱼","𑱿","𑱴","𑲎","𑱸","𑱲","𑲋","𑲃","𑲈","","","","","","\\","𑲇","𑱷","𑱶","𑲅","𑲀","𑱽","𑲁","𑱵","𑱹","𑱱","","","","","",""],"shift": ["𑲶","!","@","#","$","%","^","&","*","(",")","_","𑲤","","","","𑲬","𑲦","","𑲪","𑲚","𑲩","","","","𑲞","𑲓","𑲛","𑲢","","","","𑲯","𑲭","𑲜","𑲟","𑲔","𑲮","𑲘","𑲒","𑲫","𑲣","𑲰","","","","","","|","𑲧","𑲗","𑲖","𑲥","𑲠","𑲝","𑲡","𑲕","𑲙","𑱰","","","","","",""]};this.KV.BK=(function(x){var e=Array.apply(null,Array(65)).map(String.prototype.valueOf,""),r=[],v,i,m=['default','shift','ctrl','shift-ctrl','alt','shift-alt','ctrl-alt','shift-ctrl-alt'];for(i=m.length-1;i>=0;i--)if((v=x[m[i]])||r.length)r=(v?v:e).slice().concat(r);return r})(this.KV.KLS);this.KDU=1;this.KH='';this.KM=0;this.KBVER="1.0";this.KMBM=0x10;this.KS=1;this.KVKL={"tablet":{"displayUnderlying":false,"layer":[{"id":"default","row":[{"id":"1","key":[{"id":"K_1","text":"1"},{"id":"K_2","text":"2"},{"id":"K_3","text":"3"},{"id":"K_4","text":"4"},{"id":"K_5","text":"5"},{"id":"K_6","text":"6"},{"id":"K_7","text":"7"},{"id":"K_8","text":"8"},{"id":"K_9","text":"9"},{"id":"K_0","text":"0"},{"id":"K_HYPHEN","text":"-"},{"id":"K_EQUAL","text":"𑲄"},{"id":"K_BKSP","text":"*BkSp*","width":"100","sp":"1"}]},{"id":"2","key":[{"id":"K_Q","text":"𑲌","pad":"75"},{"id":"K_W","text":"𑲆"},{"id":"K_E","text":"𑲳"},{"id":"K_R","text":"𑲊"},{"id":"K_T","text":"𑱺"},{"id":"K_Y","text":"𑲉"},{"id":"K_U","text":"𑲲"},{"id":"K_I","text":"𑲱"},{"id":"K_O","text":"𑲴"},{"id":"K_P","text":"𑱾"},{"id":"K_LBRKT","text":"𑱳"},{"id":"K_RBRKT","text":"𑱻"},{"id":"T_new_136","width":"10","sp":"10"}]},{"id":"3","key":[{"id":"K_BKQUOTE","text":"𑲵"},{"id":"K_A","text":"𑲏"},{"id":"K_S","text":"𑲍"},{"id":"K_D","text":"𑱼"},{"id":"K_F","text":"𑱿"},{"id":"K_G","text":"𑱴"},{"id":"K_H","text":"𑲎"},{"id":"K_J","text":"𑱸"},{"id":"K_K","text":"𑱲"},{"id":"K_L","text":"𑲋"},{"id":"K_COLON","text":"𑲃"},{"id":"K_QUOTE","text":"𑲈"},{"id":"K_BKSLASH","text":"𑲂"}]},{"id":"4","key":[{"id":"K_SHIFT","text":"*Shift*","width":"160","sp":"1","nextlayer":"shift"},{"id":"K_Z","text":"𑲇"},{"id":"K_X","text":"𑱷"},{"id":"K_C","text":"𑱶"},{"id":"K_V","text":"𑲅"},{"id":"K_B","text":"𑲀"},{"id":"K_N","text":"𑱽"},{"id":"K_M","text":"𑲁"},{"id":"K_COMMA","text":"𑱵"},{"id":"K_PERIOD","text":"𑱹"},{"id":"K_SLASH","text":"𑱱"},{"id":"T_new_162","width":"10","sp":"10"}]},{"id":"5","key":[{"id":"K_LOPT","text":"*Menu*","width":"140","sp":"1"},{"id":"K_SPACE","width":"930"},{"id":"K_ENTER","text":"*Enter*","width":"145","sp":"1"}]}]},{"id":"shift","row":[{"id":"1","key":[{"id":"K_1","text":"!"},{"id":"K_2","text":"@"},{"id":"K_3","text":"#"},{"id":"K_4","text":"$"},{"id":"K_5","text":"%"},{"id":"K_6","text":"^"},{"id":"K_7","text":"&"},{"id":"K_8","text":"*"},{"id":"K_9","text":"("},{"id":"K_0","text":")"},{"id":"K_HYPHEN","text":"_"},{"id":"K_EQUAL","text":"𑲤"},{"id":"K_BKSP","text":"*BkSp*","width":"100","sp":"1"}]},{"id":"2","key":[{"id":"K_Q","text":"𑲬","pad":"75"},{"id":"K_W","text":"𑲦"},{"id":"K_E"},{"id":"K_R","text":"𑲪"},{"id":"K_T","text":"𑲚"},{"id":"K_Y","text":"𑲩"},{"id":"K_U"},{"id":"K_I"},{"id":"K_O"},{"id":"K_P","text":"𑲞"},{"id":"K_LBRKT","text":"𑲓"},{"id":"K_RBRKT","text":"𑲛"},{"id":"T_new_245","width":"10","sp":"10"}]},{"id":"3","key":[{"id":"K_BKQUOTE","text":"𑲶"},{"id":"K_A","text":"𑲯"},{"id":"K_S","text":"𑲭"},{"id":"K_D","text":"𑲜"},{"id":"K_F","text":"𑲟"},{"id":"K_G","text":"𑲔"},{"id":"K_H","text":"𑲮"},{"id":"K_J","text":"𑲘"},{"id":"K_K","text":"𑲒"},{"id":"K_L","text":"𑲫"},{"id":"K_COLON","text":"𑲣"},{"id":"K_QUOTE","text":"𑲰"},{"id":"K_BKSLASH","text":"𑲢"}]},{"id":"4","key":[{"id":"K_SHIFT","text":"*Shift*","width":"160","sp":"2","nextlayer":"default"},{"id":"K_Z","text":"𑲧"},{"id":"K_X","text":"𑲗"},{"id":"K_C","text":"𑲖"},{"id":"K_V","text":"𑲥"},{"id":"K_B","text":"𑲠"},{"id":"K_N","text":"𑲝"},{"id":"K_M","text":"𑲡"},{"id":"K_COMMA","text":"𑲕"},{"id":"K_PERIOD","text":"𑲙"},{"id":"K_SLASH","text":"𑱰"},{"id":"T_new_271","width":"10","sp":"10"}]},{"id":"5","key":[{"id":"K_LOPT","text":"*Menu*","width":"140","sp":"1"},{"id":"K_SPACE","width":"930"},{"id":"K_ENTER","text":"*Enter*","width":"145","sp":"1"}]}]}],"font":"Noto Sans Marchen"}};this.s11="?/`~";this.s12="𑱰𑱱𑲵𑲶";this.s13="k[g,cxj.t]dnpfbm\\;=vwz'yrlqsha";this.s14="𑱲𑱳𑱴𑱵𑱶𑱷𑱸𑱹𑱺𑱻𑱼𑱽𑱾𑱿𑲀𑲁𑲂𑲃𑲄𑲅𑲆𑲇𑲈𑲉𑲊𑲋𑲌𑲍𑲎𑲏";this.s15="K{GT}DNPFBM|:+VWZYRLQSHA";this.s16="𑲒𑲓𑲔𑲕𑲖𑲗𑲘𑲙𑲚𑲛𑲜𑲝𑲞𑲟𑲠𑲡𑲢𑲣𑲤𑲥𑲦𑲧𑲩𑲪𑲫𑲬𑲭𑲮𑲯";this.s17="\"iueo";this.s18="𑲰𑲱𑲲𑲳𑲴";this.s19="EUIO";this.KVER="17.0.330.0";this.KVS=[];this.gs=function(t,e) {return this.g0(t,e);};this.gs=function(t,e) {return this.g0(t,e);};this.g0=function(t,e) {var k=KeymanWeb,r=0,m=0;if(k.KKM(e,16400,222)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲰");}}else if(k.KKM(e,16384,222)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲈");}}else if(k.KKM(e,16400,187)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲤");}}else if(k.KKM(e,16384,188)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱵");}}else if(k.KKM(e,16384,190)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱹");}}else if(k.KKM(e,16384,191)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱱");}}else if(k.KKM(e,16400,186)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲣");}}else if(k.KKM(e,16384,186)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲃");}}else if(k.KKM(e,16400,188)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲕");}}else if(k.KKM(e,16384,187)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲄");}}else if(k.KKM(e,16400,190)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲙");}}else if(k.KKM(e,16400,191)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱰");}}else if(k.KKM(e,16400,65)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲯");}}else if(k.KKM(e,16400,66)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲠");}}else if(k.KKM(e,16400,67)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲖");}}else if(k.KKM(e,16400,68)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲜");}}else if(k.KKM(e,16400,69)) {if(1){r=m=1;k.KDC(0,t);}}else if(k.KKM(e,16400,70)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲟");}}else if(k.KKM(e,16400,71)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲔");}}else if(k.KKM(e,16400,72)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲮");}}else if(k.KKM(e,16400,73)) {if(1){r=m=1;k.KDC(0,t);}}else if(k.KKM(e,16400,74)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲘");}}else if(k.KKM(e,16400,75)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲒");}}else if(k.KKM(e,16400,76)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲫");}}else if(k.KKM(e,16400,77)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲡");}}else if(k.KKM(e,16400,78)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲝");}}else if(k.KKM(e,16400,79)) {if(1){r=m=1;k.KDC(0,t);}}else if(k.KKM(e,16400,80)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲞");}}else if(k.KKM(e,16400,81)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲬");}}else if(k.KKM(e,16400,82)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲪");}}else if(k.KKM(e,16400,83)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲭");}}else if(k.KKM(e,16400,84)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲚");}}else if(k.KKM(e,16400,85)) {if(1){r=m=1;k.KDC(0,t);}}else if(k.KKM(e,16400,86)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲥");}}else if(k.KKM(e,16400,87)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲦");}}else if(k.KKM(e,16400,88)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲗");}}else if(k.KKM(e,16400,89)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲩");}}else if(k.KKM(e,16400,90)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲧");}}else if(k.KKM(e,16384,219)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱳");}}else if(k.KKM(e,16384,220)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲂");}}else if(k.KKM(e,16384,221)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱻");}}else if(k.KKM(e,16384,192)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲵");}}else if(k.KKM(e,16384,65)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲏");}}else if(k.KKM(e,16384,66)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲀");}}else if(k.KKM(e,16384,67)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱶");}}else if(k.KKM(e,16384,68)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱼");}}else if(k.KKM(e,16384,69)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲳");}}else if(k.KKM(e,16384,70)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱿");}}else if(k.KKM(e,16384,71)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱴");}}else if(k.KKM(e,16384,72)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲎");}}else if(k.KKM(e,16384,73)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲱");}}else if(k.KKM(e,16384,74)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱸");}}else if(k.KKM(e,16384,75)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱲");}}else if(k.KKM(e,16384,76)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲋");}}else if(k.KKM(e,16384,77)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲁");}}else if(k.KKM(e,16384,78)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱽");}}else if(k.KKM(e,16384,79)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲴");}}else if(k.KKM(e,16384,80)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱾");}}else if(k.KKM(e,16384,81)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲌");}}else if(k.KKM(e,16384,82)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲊");}}else if(k.KKM(e,16384,83)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲍");}}else if(k.KKM(e,16384,84)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱺");}}else if(k.KKM(e,16384,85)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲲");}}else if(k.KKM(e,16384,86)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲅");}}else if(k.KKM(e,16384,87)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲆");}}else if(k.KKM(e,16384,88)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑱷");}}else if(k.KKM(e,16384,89)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲉");}}else if(k.KKM(e,16384,90)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲇");}}else if(k.KKM(e,16400,219)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲓");}}else if(k.KKM(e,16400,220)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲢");}}else if(k.KKM(e,16400,221)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲛");}}else if(k.KKM(e,16400,192)) {if(1){r=m=1;k.KDC(0,t);k.KO(-1,t,"𑲶");}}return r;};} \ No newline at end of file