I get the following error in Arduino when I try to load the Model100 board version 1.99.7:
Invalid library found in C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\Kaleidoscope-LEDControl: no headers files (.h) found in C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\Kaleidoscope-LEDControl
I’m using a slightly older Arduino (1.8.13) if that matters.
Model100-Firmware-Jeremy:35:10: fatal error: Kaleidoscope-MacrosOnTheFly.h: No such file or directory
35 | #include “Kaleidoscope-MacrosOnTheFly.h”
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Using library Kaleidoscope at version 1.99.7 in folder: C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\Kaleidoscope
Using library Kaleidoscope-Hardware-Keyboardio-Model100 at version 1.99.7 in folder: C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\Kaleidoscope-Hardware-Keyboardio-Model100
Using library KeyboardioHID at version 0.0.1 in folder: C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\KeyboardioHID
Using library FlashStorage at version 0.1.0 in folder: C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\FlashStorage
Using library Kaleidoscope-MouseKeys at version 1.99.7 in folder: C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\Kaleidoscope-MouseKeys
Using library Kaleidoscope-Macros at version 1.99.7 in folder: C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\Kaleidoscope-Macros
Using library Kaleidoscope-MacroSupport at version 1.99.7 in folder: C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\Kaleidoscope-MacroSupport
Using library Kaleidoscope-Ranges at version 1.99.7 in folder: C:\Users\JC\AppData\Local\Arduino15\packages\keyboardio\hardware\gd32\1.99.7\libraries\Kaleidoscope-Ranges
exit status 1
Kaleidoscope-MacrosOnTheFly.h: No such file or directory
exit status 1
LED-Off.h: No such file or directory
for the line
#include "LED-Off.h"
That’s not a 3rd party plugin, right? Why can’t it find that?
Edit: never mind, I’m just going to start from the example at File → Examples → Examples for Keyboardio Model 100 → Kaleidoscope → devices → Keyboardio → Model 100.
DualUse is implemented by Qukeys nowadays, and the compat header went away a while ago. Including Kaleidoscope-Qukeys.h instead of the DualUse header should do the trick.
LED-Off.h is also obsolete, the plugin is provided by LEDControl itself.
That will list most things that were changed, removed, and so on.
For the hid stuff, Kaleidoscope.hid().keyboard() and Kaleidoscope.hid().mouse() are the replacements. You can look at the available functions for these in driver/hid/base/Keyboard.h and driver/hid/base/Mouse.h, respectively.
Hi, so I am having the same problem (Mac), and have no clue on how to solve it. This is the error I get when trying compiling the Model 100 file (from the examples):
Sketch uses 159216 bytes (15%) of program storage space. Maximum is 1048576 bytes.
Global variables use 21068 bytes (21%) of dynamic memory, leaving 77236 bytes for local variables. Maximum is 98304 bytes.
dfu-util 0.11
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets
Opening DFU capable USB device…
Device ID 3496:0005
Device DFU version 0110
Claiming USB DFU Interface…
Setting Alternate Interface #0 …
Determining device status…
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0110
Device returned transfer size 1024
Copying data from PC to DFU device
Download [=========================] 100% 159632 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to Run-Time mode
Invalid library found in /Users/bohr/Library/Arduino15/packages/keyboardio/hardware/gd32/1.99.7/libraries/Kaleidoscope-LEDControl: no headers files (.h) found in /Users/bohr/Library/Arduino15/packages/keyboardio/hardware/gd32/1.99.7/libraries/Kaleidoscope-LEDControl