pybricks.hubs.PrimeHub: enable Button.CENTER
This can be used if keyboard interrupt is disabled.
@@ -34,6 +34,7 @@ static const pb_obj_enum_member_t *primehub_buttons[] = {
&pb_Button_LEFT_obj,
&pb_Button_RIGHT_obj,
&pb_Button_BLUETOOTH_obj,
+ &pb_Button_CENTER_obj,
};
STATIC mp_obj_t hubs_PrimeHub_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
