ToyKeeper / anduril

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

9H to configure channels doesn't work on d4k-3ch or other lights that use custom 3H functions #107

Open fwiffo opened 1 month ago

fwiffo commented 1 month ago

Events that come after 3H aren't handled in channel-modes.c because it falls out of the if/else if/else if/etc. if there is a custom 3H function, even though it only returns if the custom function returns EVENT_HANDLED. This prevents 9H to configure channels from working on the d4k-3ch in HSV mode.

I have a fix and will send a PR.