File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,18 @@ func init() {
72
72
miniImageReportPayloadLength , // Amount of image payload allowed per USB packet
73
73
GetImageHeaderMini , // Function to get the comms image header
74
74
)
75
+ streamdeck .RegisterDevicetype (
76
+ miniName , // Name
77
+ image.Point {X : int (miniButtonWidth ), Y : int (miniButtonHeight )}, // Width/height of a button
78
+ 0x90 , // USB productID
79
+ resetPacket17 (), // Reset packet
80
+ 6 , // Number of buttons
81
+ 2 , // Number of rows
82
+ 3 , // Number of cols
83
+ brightnessPacket17 (), // Brightness packet
84
+ 1 , // Button read offset
85
+ "BMP" , // Image format
86
+ miniImageReportPayloadLength , // Amount of image payload allowed per USB packet
87
+ GetImageHeaderMini , // Function to get the comms image header
88
+ )
75
89
}
You can’t perform that action at this time.
0 commit comments