diff options
author | Keenan Brock <keenan@thebrocks.net> | 2020-05-15 15:09:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 12:09:22 -0700 |
commit | c3aaed8dfb988adaf667f0b821c8cc0389ccac4c (patch) | |
tree | dcb19d4579a8bdf69737aafbe3d5486dc47edb78 /keyboards/cheshire | |
parent | ebc274209e22bbe4e74fc750cf3eb6492283678e (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 'keyboards/cheshire')
0 files changed, 0 insertions, 0 deletions