Skip to content

Ramsrq fixes #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2023
Merged

Ramsrq fixes #11

merged 3 commits into from
Apr 24, 2023

Conversation

FoamyGuy
Copy link
Contributor

This PR supersedes #10

I attempted to fix the formatting and one other noted change but it would not allow me to commit to the PR branch.

I wanted to get this one merged if possible to minimize chances for merge conflicts from the other PR which touched more code than this one.

From original PR:

Some issues are detected when:

There are white spaces before and/or after a token when send press multiple keys
There is a empty line at the end of the file (index out of bound)
When default delay is modified, single or multiple key remain pressed during default delay period.

144: Fix white spaces after line
189: Prevent from key still pressed when default delay is more than zero.
202: Prevent error index out of bound whet read last line
203: Fix an error when press multiples key that skip the next execution line.

I've omitted the first fix (144: Fix white spaces after line) because I was unable to replicate any issues related to that and during testing it seemed like this resulted in potentially stripping whitespace that was added intentionally by the user.

The other fixes noted in that PR are included here.

I tested all of them successfully on a Feather S2 TFT using the simpletest code and some basic "hello world" duckyscript code.

ramsrq and others added 3 commits April 5, 2023 20:42
Some issues ares detected when 
- There are white spaces before and/or after when send press multiple keys 
- There is a empty line at the end of the file (index out of bound) 
- When default delay is modified, single or multiple key remain pressed during default delay period. 

144: Fix white spaces after line
189: Prevent from key still pressed when default delay is more than zero.
202: Prevent error index out of bound whet read last line
203: Fix
@FoamyGuy FoamyGuy merged commit 716c07a into adafruit:main Apr 24, 2023
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Apr 27, 2023
Updating https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display to 3.11.1 from 3.11.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#111 from matt-land/add-types-pycon-2023

Updating https://github.com/adafruit/Adafruit_CircuitPython_Ducky to 1.1.0 from 1.0.11:
  > Merge pull request adafruit/Adafruit_CircuitPython_Ducky#8 from pstray/no_sleep
  > Merge pull request adafruit/Adafruit_CircuitPython_Ducky#11 from FoamyGuy/ramsrq_fixes
  > Add upload url to release action
  > Add .venv to .gitignore

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.

2 participants