Skip to content

Conversation

@michalpokusa
Copy link
Contributor

⭐ Added:

  • Example for writing text with KeyboardLayout
  • Docs section for KeyboardLayout

🛠️ Updated/Changed:

  • KeyboardLayout.write() now accepts optional delay parameter that specifies time between key presses (it is important to mention that even when delay=None, I was not able to notice any consistent increase in method execution time, so this does not slow it down)

Fixes #99
Possibly fixes #114

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One typo. Good otherwise. Thanks!

@michalpokusa michalpokusa requested a review from tannewt September 5, 2023 20:46
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tannewt tannewt merged commit 30097f7 into adafruit:main Sep 6, 2023
@michalpokusa michalpokusa deleted the layout-write-delay branch September 6, 2023 19:54
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 8, 2023
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 6.0.1 from 6.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#181 from dhalbert/remove-wsgiserver-completely

Updating https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display to 3.12.1 from 3.12.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#115 from kattni/eyespi-beret

Updating https://github.com/adafruit/Adafruit_CircuitPython_HID to 5.4.0 from 5.3.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#116 from michalpokusa/layout-write-delay

Updating https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer to 4.4.0 from 4.3.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_HTTPServer#67 from michalpokusa/redirect-301-302-token-form-files-cookies

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keyboard press delay Control the speed of layout.write()?

2 participants