Awesome tool! I just tried it for the GH36, and I have a question.
I see how to rotate cutouts, but how do I rotate 2x cutouts? For example, the Enter and + switches on a number pad?
I see no change in any version of {h:2},"Enter", {h:2,_r:180},"Enter" or {h:2},{_r:180},"Enter", {_r:180,h:2},"Enter".
Is there a combination that should rotate a 2x vertical cutout so that the top of the switch points to the left?
Thanks in advance!
- Ron | samwisekoi
I see you are using the
_r flag to rotate the 'switch' upside down (which actually does nothing because they cutout does not change with 180º rotation.
Here are the types of things you can do:
Additional FeaturesThe following features can be applied by modifying the source copied from the keyboard layout editor. All of these features are applied to individual keys by adding or modifying the object before the key. EG: rotate switch for "Enter" would be done by entering
{_r:90},"Enter".
{_t:<0-2>}: Change switch cutout type. Numbers are in the same order as the images. EG:
{_t:0},""{_s:<0-2>}: Change stabilizer cutout type. Numbers are in the same order as the dropdown list. EG:
{_s:2},""{_k:<mm>}: Specify a kerf value for this specific switch/stabilizer cutout which overrides the default. Values are in mm (without the unit). EG:
{_k:0.05},""{_r:<degrees>}: Rotate the switch cutout independent of the stabilizer cutout (assuming there is one). EG:
{_r:90},""{_rs:<degrees>}: Rotate the stabilizer cutout independent of the switch cutout. EG:
{_rs:180},""What does this mean???So for example, if you have a vertical key
{h:2}, it will default to rotating both the switch and the stabilizer by 90º around the center.
Lets say you want the switch to not be rotated and be in the same orientation as the other switches on the board, you can use the
{h:2, _r:90} flag. Which would result in the following:
Another option is to rotate the stabilizer independently of the switch. This is mainly if you want to change the orientation of the stabilizer to face the other way. So again, with a
{h:2} key, you can rotate the stabilizer to face the other way without changing the orientation of the switch with:
{h:2, _rs:180} This would result in:
You can of course combine the two to flip the stabilizer cutout as well as rotate the switch by 90º. This would be done with:
{h:2, _r:90, _rs:180} This would result in:
Everything I just explained applies to non-vertical switches as well. Let me know if you have questions. I may be a bit slow as I am on vacation right now.