diff options
author | Keenan Brock <[email protected]> | 2020-05-15 15:09:22 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-15 12:09:22 -0700 |
commit | c3aaed8dfb988adaf667f0b821c8cc0389ccac4c (patch) | |
tree | dcb19d4579a8bdf69737aafbe3d5486dc47edb78 /lib/arm_atsam | |
parent | ebc274209e22bbe4e74fc750cf3eb6492283678e (diff) | |
download | qmk_firmware-c3aaed8dfb988adaf667f0b821c8cc0389ccac4c.tar.gz qmk_firmware-c3aaed8dfb988adaf667f0b821c8cc0389ccac4c.zip |
[kle2info] Trim the code in `kle2xy` (#8955)0.8.161
* [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/arm_atsam')
0 files changed, 0 insertions, 0 deletions