@@ -49,6 +49,13 @@ func run() error {
4949 jp .KeyLeftShift , jp .KeyF13 , jp .KeyF14 , jp .MouseMiddle , jp .KeyF16 , jp .MouseForward , 0 ,
5050 jp .KeyMod1 , jp .KeyLeftCtrl , jp .KeyWindows , jp .KeyLeftAlt , jp .KeyMod1 , jp .KeySpace , 0 ,
5151 },
52+ {
53+ 0 , 0 , 0 , 0 , 0 , 0 , 0 ,
54+ jp .KeyTab , jp .Key1 , jp .Key2 , jp .Key3 , jp .Key4 , jp .Key5 , 0 ,
55+ jp .KeyLeftCtrl , jp .KeyMinus , jp .KeyHat , jp .KeyBackslash2 , jp .KeyLeftBrace , jp .KeyRightBrace , 0 ,
56+ jp .KeyLeftShift , jp .KeyF1 , jp .KeyF2 , jp .KeyF3 , jp .KeyF4 , jp .KeyF5 , 0 ,
57+ jp .KeyMod1 , jp .KeyLeftCtrl , jp .KeyWindows , jp .KeyLeftAlt , jp .KeyMod1 , jp .KeySpace , 0 ,
58+ },
5259 })
5360 sm .SetCallback (func (layer , index int , state keyboard.State ) {
5461 fmt .Printf ("sm: %d %d %d\n " , layer , index , state )
@@ -63,14 +70,21 @@ func run() error {
6370 0 , jp .KeyY , jp .KeyU , jp .KeyI , jp .KeyO , jp .KeyP , jp .KeyAt , jp .KeyLeftBrace , jp .KeyEnter , 0 ,
6471 0 , jp .KeyH , jp .KeyJ , jp .KeyK , jp .KeyL , jp .KeySemicolon , jp .KeyColon , jp .KeyRightBrace , 0 , 0 ,
6572 jp .KeyB , jp .KeyN , jp .KeyM , jp .KeyComma , jp .KeyPeriod , jp .KeySlash , jp .KeyBackslash , jp .KeyUp , jp .KeyDelete , 0 ,
66- 0 , jp .KeySpace , jp .KeyHenkan , jp .KeyMod1 , jp .KeyLeftAlt , jp .KeyPrintscreen , jp .KeyLeft , jp .KeyDown , jp .KeyRight , 0 ,
73+ 0 , jp .KeySpace , jp .KeyMod2 , jp .KeyHiragana , jp .KeyLeftAlt , jp .KeyPrintscreen , jp .KeyLeft , jp .KeyDown , jp .KeyRight , 0 ,
6774 },
6875 {
6976 0 , jp .KeyF6 , jp .KeyF7 , jp .KeyF8 , jp .KeyF9 , jp .KeyF10 , jp .KeyF11 , jp .KeyF12 , jp .KeyBackslash2 , jp .KeyBackspace ,
7077 0 , jp .KeyY , jp .KeyU , jp .KeyTab , jp .KeyO , jp .WheelUp , jp .KeyAt , jp .KeyLeftBrace , jp .KeyEnter , 0 ,
7178 0 , jp .KeyLeft , jp .KeyDown , jp .KeyUp , jp .KeyRight , jp .KeySemicolon , jp .KeyColon , jp .KeyRightBrace , 0 , 0 ,
7279 jp .MouseForward , jp .WheelDown , jp .KeyM , jp .KeyComma , jp .KeyPeriod , jp .KeySlash , jp .KeyBackslash , jp .KeyPageUp , jp .KeyDelete , 0 ,
73- 0 , jp .KeySpace , jp .KeyHenkan , jp .KeyMod1 , jp .KeyLeftAlt , jp .KeyPrintscreen , jp .KeyHome , jp .KeyPageDown , jp .KeyEnd , 0 ,
80+ 0 , jp .KeySpace , jp .KeyMod2 , jp .KeyHiragana , jp .KeyLeftAlt , jp .KeyPrintscreen , jp .KeyHome , jp .KeyPageDown , jp .KeyEnd , 0 ,
81+ },
82+ {
83+ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,
84+ 0 , jp .Key6 , jp .Key7 , jp .Key8 , jp .Key9 , jp .Key0 , jp .KeyBackspace , 0 , 0 , 0 ,
85+ 0 , jp .KeyHome , jp .KeyPageDown , jp .KeyPageUp , jp .KeyEnd , jp .KeyEnter , jp .KeyEsc , 0 , 0 , 0 ,
86+ jp .KeyF5 , jp .KeyF6 , jp .KeyF7 , jp .KeyF8 , jp .KeyF9 , jp .KeyF10 , jp .KeyF11 , 0 , 0 , 0 ,
87+ 0 , jp .KeySpace , jp .KeyMod2 , jp .KeyHiragana , jp .KeyLeftAlt , jp .KeyPrintscreen , jp .KeyF12 , 0 , 0 , 0 ,
7488 },
7589 })
7690 uk .SetCallback (func (layer , index int , state keyboard.State ) {
0 commit comments