Merge pull request #8535 from pypewpew/keypad-props
Fix keypad classes to show the events property
This commit is contained in:
commit
208ebdf338
|
@ -253,7 +253,7 @@ STATIC MP_DEFINE_CONST_DICT(keypad_keymatrix_locals_dict, keypad_keymatrix_local
|
||||||
MP_DEFINE_CONST_OBJ_TYPE(
|
MP_DEFINE_CONST_OBJ_TYPE(
|
||||||
keypad_keymatrix_type,
|
keypad_keymatrix_type,
|
||||||
MP_QSTR_KeyMatrix,
|
MP_QSTR_KeyMatrix,
|
||||||
MP_TYPE_FLAG_NONE,
|
MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS,
|
||||||
make_new, keypad_keymatrix_make_new
|
make_new, keypad_keymatrix_make_new
|
||||||
#if CIRCUITPY_KEYPAD_KEYMATRIX
|
#if CIRCUITPY_KEYPAD_KEYMATRIX
|
||||||
, locals_dict, &keypad_keymatrix_locals_dict
|
, locals_dict, &keypad_keymatrix_locals_dict
|
||||||
|
|
|
@ -187,7 +187,7 @@ STATIC MP_DEFINE_CONST_DICT(keypad_keys_locals_dict, keypad_keys_locals_dict_tab
|
||||||
MP_DEFINE_CONST_OBJ_TYPE(
|
MP_DEFINE_CONST_OBJ_TYPE(
|
||||||
keypad_keys_type,
|
keypad_keys_type,
|
||||||
MP_QSTR_Keys,
|
MP_QSTR_Keys,
|
||||||
MP_TYPE_FLAG_NONE,
|
MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS,
|
||||||
make_new, keypad_keys_make_new
|
make_new, keypad_keys_make_new
|
||||||
#if CIRCUITPY_KEYPAD_KEYS
|
#if CIRCUITPY_KEYPAD_KEYS
|
||||||
, locals_dict, &keypad_keys_locals_dict
|
, locals_dict, &keypad_keys_locals_dict
|
||||||
|
|
|
@ -239,7 +239,7 @@ STATIC MP_DEFINE_CONST_DICT(keypad_shiftregisterkeys_locals_dict, keypad_shiftre
|
||||||
MP_DEFINE_CONST_OBJ_TYPE(
|
MP_DEFINE_CONST_OBJ_TYPE(
|
||||||
keypad_shiftregisterkeys_type,
|
keypad_shiftregisterkeys_type,
|
||||||
MP_QSTR_ShiftRegisterKeys,
|
MP_QSTR_ShiftRegisterKeys,
|
||||||
MP_TYPE_FLAG_NONE,
|
MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS,
|
||||||
make_new, keypad_shiftregisterkeys_make_new
|
make_new, keypad_shiftregisterkeys_make_new
|
||||||
#if CIRCUITPY_KEYPAD_SHIFTREGISTERKEYS
|
#if CIRCUITPY_KEYPAD_SHIFTREGISTERKEYS
|
||||||
, locals_dict, &keypad_shiftregisterkeys_locals_dict
|
, locals_dict, &keypad_shiftregisterkeys_locals_dict
|
||||||
|
|
Loading…
Reference in New Issue