kevman323
9f01204bc7
Preliminary Big Board V2 changes
2021-02-26 23:25:00 -05:00
skogaby
ee5dd7542f
Merge pull request #8 from veroxzik/master
...
Fixes Serial Plot define, wraps air sensor serial output in define
2021-02-24 14:00:14 -06:00
Mike Park
2cb15f3a49
Fix for two finger presses not working on 16k.
...
Before, if a key was already being pressed, it would not check for increased pressure to go from single to double press.
Now if the key is currently single pressed, it checks if the threshold for double press has been passed.
The delta threshold for 16k has also been increased, as the previous one was too low and was giving double press even for only one finger.
2020-12-20 18:15:19 -08:00
veroxzik
c9c77d91af
Merge remote-tracking branch 'skogaby/master' into master
2020-12-18 19:52:32 -05:00
skogaby
1e6579196a
Add preliminary full PCB support based on the current prototype, and fix some air tower issues
2020-12-15 00:23:29 -06:00
veroxzik
33b79bbef9
Fixed Serial Plot, added more debug defines
2020-12-13 17:54:58 -05:00
skogaby
127f340b6a
Fix a couple of very subtle bugs, it seems like air delay < ~125 causes sensor 11 only (?) to read lower during slider calibration than during the main gameplay loop. Also forgot to remove the call to calibrate the slider keys inside the constructor.
2020-10-30 03:03:15 -05:00
skogaby
05055c5e06
Checkpoint commit
2020-10-21 18:26:52 -05:00
skogaby
37337d7c65
Forgot to initialize the calibration counter for AutoTouchboard
2020-10-21 01:53:56 -05:00
skogaby
4c6b5a02db
Forgot to comment some debug statements
2020-10-21 01:19:40 -05:00
skogaby
8051c5063f
(*) Make the air towers auto calibrate themselves instead of needing manual calibration
...
(*) Improve the auto calibration for the slider (32k has been tested, 16k has not)
(*) Move the calibration routines into the main loop, seems to improve consistency greatly
(*) Simplify the reactive lighting code
(*) Make the code style more consistent
2020-10-21 01:15:59 -05:00
skogaby
f9e6f9d47a
Improving auto calibration for the slider (only tested 32k):
2020-10-19 20:05:18 -05:00
skogaby
f729a681c2
Experimenting with different autocalibration. WIP
2020-10-09 21:43:23 -05:00
skogaby
c701d50d64
Bring legacy support back. Add slider auto calibration for 16k
2020-10-08 18:46:04 -05:00
skogaby
d42d667c55
The slider *finally* calibrates itself, probably needs a bit of tweaking to figure out the proper values for tuning sensitivity
2020-10-07 23:56:32 -05:00
skogaby
46b98260d4
Remove a *ton* of legacy code. * No more support for boards < v2.0. * No more digital IR inputs * No more 16-key support * Probably other stuff I'm missing
2020-10-07 22:58:53 -05:00
skogaby
81b0606926
Fix a bug in 32-key mode that made it possible to read DOUBLE_PRESS on a sensor
2020-08-02 17:14:51 -05:00
skogaby
0bb2a98894
Fix some issues that were preventing 32-key mode from working correctly
2020-08-02 17:09:19 -05:00
skogaby
e73b7c034c
UNTESTED: Initial support for 32-key builds, along with some general cleanup.
2020-08-01 04:07:19 -05:00
skogaby
21575de9f0
Bring in fuee's changes for DMA LED updates and improved touch input response time. Overhaul the slider and air sensor calibration methods to be better, more consistent, and no longer have 'sensitivity' parameters
2020-07-07 04:09:51 -05:00
skogaby
b7955e99d7
Get my repo up to speed with Nicole's repo (acrylic CAD, lighted key dividers)
2020-07-06 22:33:18 -05:00
skogaby
d88e3c51d1
Make the controller save all the configurable values to EEPROM and make the OpeNITHMConfig tool load the values from EEPROM and initialize the UI with the current controller values
2020-03-20 19:06:44 -05:00
skogaby
5207f9bbb0
Fix a silly issue with the sensitivities in AirSensor and AutoTouchboard (integer vs floating point division messing things up)
2020-03-12 02:11:15 -05:00
skogaby
753365b71a
Add a single, unified serial processor that can handle both LED updates and config commands. Make lighting mode toggleable during runtime without needing a reflash. Overhaul the analog air sensor thresholding logic to be simpler and more robust. Make the sensitivity for the slider and analog air sensors configurable. Make the serial commands adhere to the format the config tool will use.
2020-03-12 00:11:44 -05:00
skogaby
66b402d74a
Fairly significant refactor.
...
* Add a new class, AutoTouchboard, which is responsible for calibrating itself on a per-key basis using a user single-touch as the basis for calibration
* Overhaul the main sketch to redo how input is handled (eliminate the keyboard callback concept). Don't double-read the air sensors
* Process every incoming frame of light updates and fix sign error that kept the controller one update behind in addition to dropping updates
2020-03-07 18:35:43 -06:00