View Full Version : Teensy3 usb_keyboard.c: keyboard_report_data[0] should be keyboard_modifier_keys

11-19-2012, 06:24 AM
A quick bug report for both beta 7 and beta 8 (so hopefully it gets fixed in 9 ;)).

usb_keyboard.c looks like it is 3/4 of the way through being modified from using the variable keyboard_report_data[8] for storage of modifiers+keypresses to the pair of variables keyboard_modifier_keys + keyboard_keys[6]. Lines 237 and 239 of usb_keyboard.c still refer to the now-removed keyboard_report_data[0] for the modifier keys instead of the new keyboard_modifier_keys variable, which means it won't compile. Changing those two calls to the new variable name fixes compilation.

11-19-2012, 08:53 AM
Opps, sorry. Fixed it now, so it'll be ok in beta9.

Obviously I've only tested with the US keyboard layout...