summaryrefslogtreecommitdiff
path: root/app/include/zmk/hog.h
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-11-21 20:09:21 +0000
committerPete Johanson <peter@peterjohanson.com>2020-11-21 15:52:16 -0500
commit3ac1a11a370d262e54538f0e10d947303cf77afa (patch)
treed698e9fbdd916c65a28cd8858a8ff063c813f4de /app/include/zmk/hog.h
parent3ebd192411c347ad0bf4859a63206efb6b730c29 (diff)
refactor: change `keypad` to `keyboard`
The application usage used by report 1 is `HID_USAGE_GD_KEYBOARD`. Moreover, the `keys` usage page (0x07) that primarily feeds into this report is predominantly keyboard codes. The rest of the system should align with this naming convention.
Diffstat (limited to 'app/include/zmk/hog.h')
-rw-r--r--app/include/zmk/hog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/include/zmk/hog.h b/app/include/zmk/hog.h
index a7dda51..7523fb6 100644
--- a/app/include/zmk/hog.h
+++ b/app/include/zmk/hog.h
@@ -11,5 +11,5 @@
int zmk_hog_init();
-int zmk_hog_send_keypad_report(struct zmk_hid_keypad_report_body *body);
+int zmk_hog_send_keyboard_report(struct zmk_hid_keyboard_report_body *body);
int zmk_hog_send_consumer_report(struct zmk_hid_consumer_report_body *body);