main
Minizbot2012 3 years ago
parent d053349a5c
commit 4d4c7dcc69
No known key found for this signature in database
GPG Key ID: 977C8ADE12361917

@ -1,4 +1,4 @@
package common package gui
type PageType int type PageType int

@ -1,4 +1,4 @@
package common package hid
var KEYCODE_WINDOWS_FROM_HID = []byte{ var KEYCODE_WINDOWS_FROM_HID = []byte{
255, 255, 255, 255, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 255, 255, 255, 255, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20,

@ -5,20 +5,20 @@ import (
"io" "io"
"os" "os"
"github.com/OrbTools/OrbCommon/common" "github.com/OrbTools/OrbCommon/common/gui"
) )
//BINDING Map of Default Keys //BINDING Map of Default Keys
var BINDING = [...]byte{41, 2, 3, 4, 5, 15, 16, 17, 18, 19, 58, 30, 31, 32, 33, 42, 44, 45, 46, 47, 56, 103, 106, 108, 105, 57} var BINDING = [...]byte{41, 2, 3, 4, 5, 15, 16, 17, 18, 19, 58, 30, 31, 32, 33, 42, 44, 45, 46, 47, 56, 103, 106, 108, 105, 57}
//GUI gui definition for an orbweaver //GUI gui definition for an orbweaver
var GUI = &common.GUI{ var GUI = &gui.GUI{
Pages: []common.Page{ Pages: []gui.Page{
{ {
Hive: "MIP", Hive: "MIP",
Name: "Grid", Name: "Grid",
Type: common.PGrid, Type: gui.PGrid,
Keys: []common.Key{ Keys: []gui.Key{
{ {
KeyID: 0, KeyID: 0,
KeyName: "01", KeyName: "01",
@ -81,8 +81,8 @@ var GUI = &common.GUI{
}, { }, {
Hive: "SIP", Hive: "SIP",
Name: "Side Keys", Name: "Side Keys",
Type: common.PList, Type: gui.PList,
Keys: []common.Key{ Keys: []gui.Key{
{ {
KeyID: 0, KeyID: 0,
KeyName: "Upper Button", KeyName: "Upper Button",

Loading…
Cancel
Save