circuitpython/shared-module
Maxim Kulkin 429c7220c2 shared-module/usb_hid: Fix behavior of Device.get_last_received_report()
Documentation states that get_last_received_report() function should
return None if there was no report received previously, otherwise it
should return report. Moreover, same report should be returned only
once. That makes it possible to reliably process incoming OUT/Feature
reports.

This patch adds an array that stores flags if report with particular
ID was received and updates get_last_received_report() to match its
documentation.
2022-08-24 17:49:53 -04:00
..
_bleio Add BLE scanning for S3 and C3. 2022-01-25 16:28:46 -08:00
_eve Additional missing-prototypes fixes 2021-11-10 10:55:53 -06:00
_stage Stage: add support for viewport scrolling 2021-10-09 00:05:49 +02:00
adafruit_bus_device common-hal I2C combined write_read 2022-01-31 22:03:30 -05:00
adafruit_pixelbuf Explicitly cast float to mp_int_t 2021-12-17 16:23:58 -05:00
aesio run code formatting script 2021-03-15 19:27:36 +05:30
atexit Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
audiocore Additional missing-prototypes fixes 2021-11-10 10:55:53 -06:00
audioio bring MixerVoice back to building state; update documentation 2019-08-03 11:20:06 -05:00
audiomixer Additional missing-prototypes fixes 2021-11-10 10:55:53 -06:00
audiomp3 MP3Decoder: better handle indicating end of mp3 audio data to caller 2022-04-22 14:11:02 -05:00
audiopwmio audiopwmio: Add the shared files for this new module 2019-07-26 07:52:37 -05:00
bitbangio Bitbang i2c: switch scl to input for reading 2022-02-02 22:54:35 +11:00
bitmaptools Fix freeze on bitmaptools.dither 2022-03-04 17:06:07 +09:00
bitops Merge MicroPython 1.14 into CircuitPython 2021-05-11 15:07:40 -07:00
board change half_duplex to be on spi construct 2022-02-08 21:37:38 -05:00
canio Enable -Werror=missing-prototypes on espressif port 2021-11-10 11:07:45 -06:00
displayio Ignore SH1107 quirk if not 1bpp 2022-05-03 09:23:36 -05:00
floppyio Add floppyio for rp2040 2022-01-17 16:34:47 -06:00
fontio Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
framebufferio Initial broadcom port for Raspberry Pi 2021-11-22 14:54:44 -08:00
gamepadshift more missing-prototypes fixes 2021-11-10 21:00:17 -06:00
getpass Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
gifio use mp_get_stream_raise, it's more specific 2021-11-20 08:53:04 -05:00
imagecapture ParallelImageCapture: Add continuous capture on espressif 2021-11-03 11:02:46 -05:00
ipaddress run code formatting script 2021-03-15 19:27:36 +05:30
is31fl3741 Fix no scaled framebuffer display 2022-03-23 17:37:56 -05:00
keypad refactor keypad to share more code 2022-04-05 14:50:30 -05:00
memorymonitor run code formatting script 2021-03-15 19:27:36 +05:30
msgpack msgpack.unpack requires a readable stream 2022-02-21 09:16:36 +11:00
multiterminal Merge tag 'v1.9.3' 2017-11-02 12:41:50 -07:00
onewireio Move OneWire to onewireio from busio 2021-08-12 10:47:14 -07:00
os run code formatting script 2021-03-15 19:27:36 +05:30
paralleldisplay Initial broadcom port for Raspberry Pi 2021-11-22 14:54:44 -08:00
qrio Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
rainbowio appease ci 2022-02-10 17:14:07 -08:00
random Additional missing-prototypes fixes 2021-11-10 10:55:53 -06:00
rgbmatrix Restore automatic gc_collect() after an import 2022-05-18 11:37:13 -04:00
rotaryio Additional missing-prototypes fixes 2021-11-10 10:55:53 -06:00
sdcardio print addl debug message 2021-12-08 21:03:06 -06:00
sharpdisplay allow multiple board buses 2021-12-11 23:07:21 +05:30
storage go into safe mode if not CIRCUITPY available 2021-12-27 18:58:24 -05:00
struct Additional missing-prototypes fixes 2021-11-10 10:55:53 -06:00
synthio RP2040 PWMAudioOut: Release DMA channels after play has finished. 2021-07-01 17:36:29 -04:00
terminalio fix REPL terminal garbled characters upon code.py finished 2022-02-21 14:58:16 -06:00
time Additional missing-prototypes fixes 2021-11-10 10:55:53 -06:00
touchio run code formatting script 2021-03-15 19:27:36 +05:30
traceback Reduce code duplication in traceback module 2021-08-09 08:27:28 -05:00
uheap Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
usb Tweaks from review 2022-03-11 10:51:50 -08:00
usb_cdc Enable -Wmissing-prototypes for atmel-samd 2021-11-09 20:05:00 -06:00
usb_hid shared-module/usb_hid: Fix behavior of Device.get_last_received_report() 2022-08-24 17:49:53 -04:00
usb_midi Enable -Wmissing-prototypes for atmel-samd 2021-11-09 20:05:00 -06:00
ustack run code formatting script 2021-03-15 19:27:36 +05:30
vectorio color index for vectorio shapes. 2022-03-19 11:30:37 -05:00
zlib Removing DecompIO 2022-03-23 17:02:58 -05:00