From 480c458bc79a135ab25dff58444bfa2199c21e10 Mon Sep 17 00:00:00 2001 From: Minizbot2012 Date: Wed, 28 Jul 2021 02:12:35 -0400 Subject: [PATCH] Common structures split into common files --- hid/hid_json.go | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/hid/hid_json.go b/hid/hid_json.go index 5f8906f..2842d21 100644 --- a/hid/hid_json.go +++ b/hid/hid_json.go @@ -7,27 +7,6 @@ import ( "encoding/json" ) -type KeyMaps struct { - Usb map[uint16]Key - Evdev map[uint16]Key - Xkb map[uint16]Key - Win map[uint16]Key - Mac map[uint16]Key - Code map[string]Key - Arr []Key -} - -type Key struct { - Usb uint16 - Evdev uint16 - Xkb uint16 - Win uint16 - Mac uint16 - Code string -} - -var Mappings KeyMaps = KeyMaps{} - //go:embed generated.json var file []byte