ToyKeeper / anduril

Anduril 2 Flashlight Firmware and FSM UI Toolkit
GNU General Public License v3.0
199 stars 48 forks source link

Replace lockout mode with tactical? #72

Open Relys opened 2 months ago

Relys commented 2 months ago

Hey, I was just wondering if anyone had considered an option to replace lockout mode with tactical? i.e. I would really like to have the functionality of the timeout that's currently used to switch to lockout but for tactical instead. This is because lockout mode does not have support for using the strobe function (for self defense) and I would really like to be able to have the flashlight timeout to so it doesn't get pressed in bag accidently while retaining the 3H shortcut for tactical strobe regardless in what state it's in. As far as I can tell this is not possible.

Another thing that would be much appreciated is being able to disable momentary mode with a user config setting as opposed to having to compile firmware and flash it. I'm far more likely to be in danger from accidently locking the flashlight into momentary mode and having to unscrew the battery during an altercation than I am being stranded on a desert island needing to send out anything more complicated than an SOS in MORSE code.

SiteRelEnby commented 2 months ago

Remapping shortcuts is something that isn't practical at runtime due to space considerations. In the future this might be doable at buildtime using per-user config. In terms of making the autolock timer enter tactical mode, that'd just be a few lines change, but similar consideration there.