For the first two errors, you now need to use the Key::getKeyCode()
method, rather than accessing the member variable directly.
For the third one, use Runtime.hid().keyboard().pressKey()
.
For the last two, LEDControl.enable()
& LEDControl.disable()
.
If you look at the current version of the Model01-Firmware repository, you can see updated versions of the affected functions.