Commit Graph

11 Commits

Author SHA1 Message Date
PloopyCo 637b9ea92f adjusted scroller array size to prevent int overflow errors when diodes give higher values 2020-03-20 12:36:50 -04:00
PloopyCo 26bcddb623 scroll wheel is now done with a stochastic algorithm to make up for the inherent noise in the phototransistor 2019-11-25 21:14:56 -05:00
Daniel Kao fc9cd621b1 Constrain ANGLE_TUNE setting
In case anyone wants to adjust it and doesn't have access to the register definition.
2019-11-25 21:14:56 -05:00
Daniel Kao 92070e143d Change polling interval to a regular 1ms
Motion burst + analog reads takes around 408us.
The total 408us + 870us wait doesn't seem necessary.
2019-11-25 21:14:56 -05:00
Daniel Kao 41e1508354 Make use of PMW3360's Angle_Tune register
Sensor can rotate its output up to +/-30 degrees.
2019-11-25 21:14:56 -05:00
PloopyCo 7f561019d7 fixed hysteretic scroll 2019-11-25 21:14:56 -05:00
PloopyCo 82b316027b moved sketch into top-level directory named 'production' 2019-11-25 21:14:56 -05:00
ploopyco c4b738599f changed scrolling algorithm to be much more robust, using a state machine instead of state-free processing 2019-11-25 21:14:56 -05:00
ploopyco f5688b925e updated firmware with latest changes 2019-11-25 21:14:35 -05:00
ploopyco dc0bd0c2f3
Changed "mouse" instances to "trackball" 2019-10-07 15:11:02 -04:00
PloopyCo 01d620655b added cern and gpl licenses; added firmware 2019-09-06 15:13:28 -04:00