Started work with hidapi to discover USB devices

This commit is contained in:
2023-05-25 16:56:26 -04:00
parent c9bfbb9c7b
commit 3ee963267b
5 changed files with 40 additions and 6 deletions

9
devices/init.go Normal file
View File

@ -0,0 +1,9 @@
package devices
var (
VID uint16 = uint16(9610)
PID_MODEL_O uint16 = uint16(0)
PID_MODEL_D uint16 = uint16(0)
PID_MODEL_O_WIRELESS []uint16 = []uint16{uint16(8209), uint16(8226)}
PID_MODEL_D_WIRELESS []uint16 = []uint16{uint16(8210), uint16(8227)}
)