aboutsummaryrefslogtreecommitdiff
path: root/ui/fireflies-ui/fireflies-ui.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-03renamed tk*.h in file contents, and deleted unused filesSelene ToyKeeper1-1/+1
2023-11-02reorganized project files (part 1)Selene ToyKeeper1-0/+0
(just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
2023-06-29Removed references to Harry Potter,Selene ToyKeeper1-90/+90
because J.K. Rowling is the figurehead of a hate group and I don't want to condone that in any way. I liked a 2-word phrase she wrote once, "mischief managed", but that was decades ago... and now she is the face of a transphobic movement known as TERFs. She turned out to be a pretty terrible person who uses her massive wealth and influence to spread hate and oppress people. To be clear: Trans rights are human rights. ... and anyone who has a problem with that has no place in this project. Patch suggested by SiteRelEnby, and TBH it's embarrassing that I didn't remove the phrase sooner. It seemed fun and innocent in 2017 when this project started, but ... things changed. https://github.com/SiteRelEnby/anduril2/commit/a1cee423b4e0e16909a90d5c3e6a7b70df30d755
2021-04-14aux LED config cleaning...Selene ToyKeeper1-0/+1
- use fancy blinking mode by default (define USE_OLD_BLINKING_INDICATOR if old slow mode is wanted) - remove TICK_DURING_STANDBY from all cfg-*.h files because it's enabled automatically by other features anyway (autolock, memory timer) - remove STANDBY_TICK_SPEED from cfg-*.h because all the values matched the default anyway so it was redundant - set rot66 button LED to high+blinking instead of high+off (it was only "off" because it ran out of space, and that was resolved) - enabled fancier indicator by default on fireflies-ui and rampingiosv3, since its other #define clauses were removed (not sure if those older UIs still compile, but if so, it's worth at least trying not to break it)
2019-05-23merged recent anduril updates into fireflies-uiSelene ToyKeeper1-71/+225
2019-04-14moved FF UI's tempcheck to 8 clicks, and re-added 7-click aux LED configurationSelene ToyKeeper1-1/+19
2019-04-14applied upstream anduril changes to fireflies-uiSelene ToyKeeper1-16/+40
2019-03-12don't use eeprom for ramp config if ramp config isn't enabledSelene ToyKeeper1-0/+2
2019-03-12merged anduril updates into rampingiosSelene ToyKeeper1-1/+1
2019-03-12merged anduril refactor changes into fireflies-uiSelene ToyKeeper1-237/+288
2019-03-12merged some (most) of ffui's changes back into andurilSelene ToyKeeper1-5/+30
2019-03-12first working rev of Fireflies UI, with changes basically as minimal as possibleSelene ToyKeeper1-21/+176
from Anduril to make it easier to keep the two in sync later - changed name - changed default config file - disabled ramp config - disabled muggle mode - disabled entire strobe group - disabled goodnight and beacon mode - made battcheck group only one mode, not a group - added boring strobe group (police strobe, SOS) - changed "7 clicks from off" to tempcheck mode - added "10 clicks from off" for thermal config mode - made stuff able to be turned off at compile time: - beacon mode - ramp config - goodnight mode
2019-03-12created directory for Fireflies UISelene ToyKeeper1-0/+0
2019-01-12Added an option for a "fancy" moon mode during lockout. 2nd click goes to ↵Selene ToyKeeper1-0/+9
the other ramp's floor level.
2019-01-03removed redundant clock speed lines, updated some commentsSelene ToyKeeper1-4/+0
2018-12-22Turn off at beginning of 3rd click, not 2nd click. Makes off-to-ceiling ↵Selene ToyKeeper1-5/+5
transition smoother.
2018-12-18Reworked the config file include system so it'll include the #defined valueSelene ToyKeeper1-60/+4
instead of having to hard-code a bunch of specific recognized values.
2018-12-15Updated Anduril text file, mostly.Selene ToyKeeper1-0/+2
2018-11-19Added FF PL47-219 build target, with the FET ramp multiplied by 0.6666.Selene ToyKeeper1-0/+3
I guess it doesn't react well to high-amp cells, so this helps avoid issues.
2018-11-14added a fancier blinking mode for button/aux LEDs, enabled on D4S / Q8 / SP36Selene ToyKeeper1-0/+11
2018-11-11Updated RampingIOS V3 to new event API. Applied recent changes from Anduril ↵Selene ToyKeeper1-9/+0
too.
2018-11-11Several fixes...Selene ToyKeeper1-35/+19
- Made momentary+lockout modes smaller and work better. - Fixed buggy timing on hold events; made ticks_since_last_event reset when it should. - Reduced ROM size by caching volatile ticks_since_last_event sometimes. - Swapped what the top Event bit means, because it makes event handlers easier to write. - Made the maximum click event keep triggering if user keeps pressing, instead of dropping everything after the limit.
2018-11-11Rewrote the event system to use a single byte for each event instead of an ↵Selene ToyKeeper1-52/+64
array of actions. Not thoroughly tested yet, not done yet, have only updated Anduril to fit, and only partially.
2018-11-03added missing ifdef which broke per-hardware ramp lengthsSelene ToyKeeper1-0/+2
2018-10-30Adjusted FF PL47 config. Made muggle floor/ceiling configurable per config ↵Selene ToyKeeper1-0/+4
file.
2018-10-17Initial untested support for the Sofirn SP36 (like a Q8 but smaller).Selene ToyKeeper1-0/+4
2018-10-12Moved "off" mode's aux LED to config to "7 clicks from off".Selene ToyKeeper1-3/+30
2018-10-10Fixed location of an #endifSelene ToyKeeper1-2/+1
2018-10-09bug fix: set thermal target to actual level, not maximum level, when doing ↵Selene ToyKeeper1-1/+2
double-click from off
2018-10-07Added option to skip "low" mode for aux LEDs.Selene ToyKeeper1-0/+6
Not actually used though.
2018-10-07First working PL47 build. Does aux LEDs on pin 7 but not pin 3.Selene ToyKeeper1-0/+3
2018-09-30Added ROT66 14x7135 support. Split original 7x7135 target into two.Selene ToyKeeper1-0/+4
Still acts weird at the channel boundary, and I think it's the driver, not the emitters or 7135 chips. Not sure what exactly causes it, but the aux LED board acts weird there too.
2018-09-29Added D4-219C build target. Cleaned up D4S definitions a little.Selene ToyKeeper1-2/+6
2018-09-29Added MOON_TIMING_HINT, made stepped ramp initial timing the same as smooth ↵Selene ToyKeeper1-1/+15
ramp. (previously, smooth ramp took 2 timeouts before ramping while stepped took 3) (now both are 2)
2018-09-29Fixed ramp style toggle going to the wrong level when at moon.Selene ToyKeeper1-1/+1
2018-09-13ramp tint faster, remember after battery changeSelene ToyKeeper1-2/+13
also, fixed typo while setting default ramp values
2018-09-13made tint ramping actually workSelene ToyKeeper1-0/+3
(needed to set_level() again after changing tint) also, made sure ramp ends will go the right direction (may be reduntant though)
2018-09-13Added tint ramping. Not tested yet. Also added BLF Lantern build target.Selene ToyKeeper1-1/+42
2018-09-06Don't attempt to regulate back up above hard turbo drop level.Selene ToyKeeper1-0/+1
(avoids sawtooth oscillations while temperature settles)
2018-09-05made aux LED default mode configurable per hardware target,Selene ToyKeeper1-9/+13
and changed the ROT66 default to something more sensible
2018-09-05merged recent anduril updates into rampingiosv3 (and vice-versa)Selene ToyKeeper1-0/+3
2018-09-05Fixed bug: stepped ramp sometimes acted weird with specific values.Selene ToyKeeper1-1/+1
2018-09-01Reduced ROM size another 10 bytes by removing redundant call to nearest_level().Selene ToyKeeper1-5/+5
Added some comments to clarify what lowest and highest level mean.
2018-09-01Reduced moon-during-lockout code size by 10 bytes.Selene ToyKeeper1-4/+3
2018-08-31Added support for the BLF/Lumintop GT Mini.Selene ToyKeeper1-0/+4
(same as the Emisar D1S, but with a lighted button)
2018-08-30First Anduril build for Fireflies ROT66.Selene ToyKeeper1-2/+8
2018-08-22Made anduril.c no longer executable.Selene ToyKeeper1-0/+0
2018-08-22Reduced ROM size by making successive nice_delay_ms calls collapse any time ↵Selene ToyKeeper1-7/+7
the user completes an input sequence. All nice delays then get aborted until the next trip through the main() loop. Eliminates the need to wrap nice_delay_ms() calls and handle the exit condition. Also eliminates the risk of getting the UI out of sync with button events.
2018-08-22Rearranged strobe group mode order, fixed party strobe.Selene ToyKeeper1-53/+58
Was broken due to some remaining hardcoded stuff about the mode numbers. Lost the 20 bytes saved earlier, but that was only reduced due to accidentally compiling out the party strobe code.
2018-08-22Replaced hardcoded eeprom index values with auto-calculated enums.Selene ToyKeeper1-42/+69