kmk_firmware/upy-unix-stubs/pyb/__init__.py
2018-09-30 16:33:03 -07:00

15 lines
298 B
Python

try:
from collections import namedtuple
except ImportError:
from ucollections import namedtuple
HIDMode = namedtuple('HIDMode', (
'subclass',
'protocol',
'max_packet_length',
'polling_interval',
'report_descriptor',
))
hid_keyboard = HIDMode(0, 0, 0, 0, bytearray(0))