-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Inputs in dedicated Task #645
Conversation
Inputs (chechSelPress and stuff) are checked in a specific task, running on background Removed delay before and after loopOptions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job
Although needs some adjustments, I still give my thumbs up.
I've changed many thing already.. the crashes was due to stack size.. Next step will acommodate all keyboards into one code |
Added a function to control the Input variables, now they "rearm" after read. Fixed Restarts and some other changes Fixed Keyboard to send Delete key and modifiers pr3y#594
Removed keyboard function from interface.cpp, all devices are now usinf the same function, easy to maintain Remapped TouchArea for touchscreen devices.. now it is possible to use the touch area to escape some functions, go up/down/left/right and selec
I believe it is good for merge now.. tested on all boards and its working good..
All tested and passed here |
These libs are now being included in the specific environment, getting t
Proposed Changes
Changed the functions checkPrevPress, checkSelPress, checkNextPress, checkEscPress and checkAnyKeyPress to volatile bool variables and made them run on a InputHandler function on a dedicated task.
Added debounce into the InputHandler, removing some delays from the code (the ones before and after loopOption callings.
Touch bar for CYD, Core2 and CoreS3 is now the whole screen (left side for prev, center for Select and right for Next, more options can be added now, if needed, like Esc btn as an [X] on screen)
Types of Changes
Structural
Verification
Overall speed might be improved in loopTask.
Testing
Need to test on all devices, can be tested in this flasher (using BetaRelease)
DO NOT MERGE YET, Please...
@rouing Can you have a look on it?