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

@ -1,4 +1,4 @@
package common
package hid
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,

@ -5,20 +5,20 @@ import (
"io"
"os"
"github.com/OrbTools/OrbCommon/common"
"github.com/OrbTools/OrbCommon/common/gui"
)
//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}
//GUI gui definition for an orbweaver
var GUI = &common.GUI{
Pages: []common.Page{
var GUI = &gui.GUI{
Pages: []gui.Page{
{
Hive: "MIP",
Name: "Grid",
Type: common.PGrid,
Keys: []common.Key{
Type: gui.PGrid,
Keys: []gui.Key{
{
KeyID: 0,
KeyName: "01",
@ -81,8 +81,8 @@ var GUI = &common.GUI{
}, {
Hive: "SIP",
Name: "Side Keys",
Type: common.PList,
Keys: []common.Key{
Type: gui.PList,
Keys: []gui.Key{
{
KeyID: 0,
KeyName: "Upper Button",

Loading…
Cancel
Save