You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add something that behaves like GOTO_PROFILE but it returns to the original layer after the next (subsequent) key press? This would let us emulate having something like QMK layers so that we could quickly switch between different groups of shortcuts for complicated apps that have a lot of shortcuts.
I'm thinking something like my IDE with a ton of complicated hotkeys. I would have a primary profile with the most common shortcuts, and on that maybe the bottom row of keys are mapped to swap to different profiles with more specialized commands. I could press a swap key and it would shift to the specialized profile, then I press the command I want and it would return to the original layer. This would be a very powerful addition, I think.
I know you're busy and thank you for all the work thus far!
The text was updated successfully, but these errors were encountered:
You may achieve similar feature with the current beta firmware, note however that in fact you will not be switching to a profile but instead emulating it inside duckyscript. Upon execution DP will show a legend for upper row, then it will start listening on a subsequent keypress. As soon as a user input is detected it executes the action.
VAR $k = 0
OLED_CLEAR
OLED_CURSOR 0 0
OLED_PRINT foo bar baz
OLED_UPDATE
WHILE $k == 0
$k = $_READKEY
DELAY 50
END_WHILE
IF $k == 1 THEN
STRINGLN foo
ELSE IF $k == 2 THEN
STRINGLN bar
ELSE IF $k == 3 THEN
STRINGLN baz
END_IF
Would it be possible to add something that behaves like
GOTO_PROFILE
but it returns to the original layer after the next (subsequent) key press? This would let us emulate having something like QMK layers so that we could quickly switch between different groups of shortcuts for complicated apps that have a lot of shortcuts.I'm thinking something like my IDE with a ton of complicated hotkeys. I would have a primary profile with the most common shortcuts, and on that maybe the bottom row of keys are mapped to swap to different profiles with more specialized commands. I could press a swap key and it would shift to the specialized profile, then I press the command I want and it would return to the original layer. This would be a very powerful addition, I think.
I know you're busy and thank you for all the work thus far!
The text was updated successfully, but these errors were encountered: