Commit Graph
5 Commits
Author SHA1 Message Date
Keenan Brock 9dafac3fbd Reviung34 multiple layouts and rgb support (#81)
* support 1u and 2u options for reviung34

* support rgb lighting for reviung rgb

The reviung34sb (formerly called reviung34) do not have rgb lighting
But the unibody one (see keymaps/reviung34_rgb) has support.

This makes the firmware quite big and all animations will not fit on the board.
Animations were not working for me, but I included in case it is working for others.
2021-11-17 01:46:18 -05:00
Keenan Brock 8f8411a98a [Keyboard] Add VIA keymap for the reviung39 (#14234) 2021-09-08 16:02:50 -07:00
Keenan Brock c3aaed8dfb [kle2info] Trim the code in kle2xy (#8955)
* [kle2jinfo] use min/max instead of if

This is a slight change.
Before, the key_skel would keep the invalid value for future keys.
I think this is what was actually intended.

* [kle2info] calculate x

x is the current_x * key_size + (key_size/2)
y is the current_y * key_size + (key_size/2)

no reason to track both
2020-05-15 12:09:22 -07:00
Keenan Brock 5c666398d5 kle2info: trim down x and y output
fixes quirks with float implementation.

before:
{"label":"Esc", "x":0.66, "y":1.45}, {"label":"!", "x":1.6600000000000001, "y":1.45}

after:
{"label":"Esc", "x":0.66, "y":1.45}, {"label":"!", "x":1.66, "y":1.45}
2020-04-26 12:20:40 -04:00
Keenan Brock a47915d2d2 kle2json: fix invocation error
resolves an issue while finding the file path

TypeError: unsupported operand type(s) for +: 'PosixPath' and 'str'
2020-04-26 12:19:37 -04:00