diff options
| author | tmk <nobody@nowhere> | 2012-10-25 03:28:25 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2012-10-27 02:27:09 +0900 |
| commit | 220de27bed198c2ea27886986de7afd8013d5545 (patch) | |
| tree | 7360d98d3d0280596a2d69ba39e160d854f31ea1 /common/mousekey.c | |
| parent | ad24858e4fec8bb9af9d89ebf42cda3fffcfdff5 (diff) | |
| download | qmk_firmware-220de27bed198c2ea27886986de7afd8013d5545.tar.gz qmk_firmware-220de27bed198c2ea27886986de7afd8013d5545.zip | |
Add print_dec() and debug_dec().
Diffstat (limited to 'common/mousekey.c')
| -rw-r--r-- | common/mousekey.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/mousekey.c b/common/mousekey.c index d26b26306..3068fc5e3 100644 --- a/common/mousekey.c +++ b/common/mousekey.c | |||
| @@ -187,10 +187,10 @@ static void mousekey_debug(void) | |||
| 187 | if (!debug_mouse) return; | 187 | if (!debug_mouse) return; |
| 188 | print("mousekey [btn|x y v h](rep/acl): ["); | 188 | print("mousekey [btn|x y v h](rep/acl): ["); |
| 189 | phex(mouse_report.buttons); print("|"); | 189 | phex(mouse_report.buttons); print("|"); |
| 190 | phex(mouse_report.x); print(" "); | 190 | print_decs(mouse_report.x); print(" "); |
| 191 | phex(mouse_report.y); print(" "); | 191 | print_decs(mouse_report.y); print(" "); |
| 192 | phex(mouse_report.v); print(" "); | 192 | print_decs(mouse_report.v); print(" "); |
| 193 | phex(mouse_report.h); print("]("); | 193 | print_decs(mouse_report.h); print("]("); |
| 194 | phex(mousekey_repeat); print("/"); | 194 | print_dec(mousekey_repeat); print("/"); |
| 195 | phex(mousekey_accel); print(")\n"); | 195 | print_dec(mousekey_accel); print(")\n"); |
| 196 | } | 196 | } |
