diff options
author | Keenan Brock <keenan@thebrocks.net> | 2020-05-15 15:09:22 -0400 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-06-12 17:00:27 +0900 |
commit | d4dd4d4864a5636e31e512304564440dce1a9764 (patch) | |
tree | 757fa329a61f1fb7a5d1e26ff4c61480f0d411e9 /lib/python/qmk/cli | |
parent | 375e2d7ec85eb0b16eba10bcbab447081b4633a4 (diff) |
[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
Diffstat (limited to 'lib/python/qmk/cli')
0 files changed, 0 insertions, 0 deletions