Page 1 of 1

Any idea?

Posted: 28 Apr 2025, 09:03
by Sureed
Did a successful conversion to USB with an xwhatsit controller, but can't find a key to toggle the Solenoid on and off.
In Chyrosran22's video he just says he has mapped the layer key + F1 to solenoid on/off. Can't find such an option on the QMK configurator.

Any idea?

Re: Any idea?

Posted: 28 Apr 2025, 21:57
by David Parker
QMK doesn’t have a clean “solenoid toggle” built in. You usually gotta set it up manually with a custom function in your keymap code. Kinda annoying they don’t just add it to the configurator.

Re: Any idea?

Posted: 01 Sep 2025, 16:40
by corvax
The code for triggering the solenoid is "HPT_TOG". You have to map it manually with the any key button in the QMK configurator.

Re: Any idea?

Posted: 30 Oct 2025, 15:29
by amyleon
Sounds like you did a solid job with the conversion — nice work!
Yeah, QMK doesn’t have a direct “solenoid toggle” option in the configurator by default. Usually, that feature is handled in the firmware code, not through the web UI.

If you’re using xwhatsit or a solenoid driver mod, you’ll likely need to edit your keymap in the QMK source manually and define a custom keycode to toggle it (something like SOLENOID_TOGGLE or a custom function in process_record_user).

If coding’s not your thing, you could also check GitHub for other xwhatsit/QMK builds — some folks share pre-made keymaps with the solenoid toggle already included.