Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added example for HOG composite device #493

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ set(EXAMPLES_LE_ONLY
hog_host_demo
hog_keyboard_demo
hog_mouse_demo
hog_mouse_kbd_joystick
le_credit_based_flow_control_mode_client
le_credit_based_flow_control_mode_server
le_mitm
Expand Down Expand Up @@ -85,6 +86,7 @@ set(EXAMPLES_GATT_FILES
gatt_streamer_server.gatt
hog_keyboard_demo.gatt
hog_mouse_demo.gatt
hog_mouse_kbd_joystick.gatt
le_credit_based_flow_control_mode_server.gatt
nordic_spp_le_counter.gatt
nordic_spp_le_streamer.gatt
Expand Down
8 changes: 8 additions & 0 deletions example/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ EXAMPLES_LE_ONLY= \
hog_host_demo \
hog_keyboard_demo \
hog_mouse_demo \
hog_mouse_kbd_joystick \
le_credit_based_flow_control_mode_client \
le_credit_based_flow_control_mode_server \
le_mitm \
Expand Down Expand Up @@ -265,6 +266,7 @@ EXAMPLES_GATT_FILES = \
gatt_streamer_server.gatt \
hog_keyboard_demo.gatt \
hog_mouse_demo.gatt \
hog_mouse_kbd_joystick.gatt \
le_credit_based_flow_control_mode_server.gatt \
nordic_spp_le_counter.gatt \
nordic_spp_le_streamer.gatt \
Expand Down Expand Up @@ -341,6 +343,12 @@ hog_mouse_demo.o: hog_mouse_demo.h hog_mouse_demo.c
hog_mouse_demo: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} battery_service_server.o device_information_service_server.o hids_device.o hog_mouse_demo.o
${CC} $^ ${LDFLAGS} -o $@

hog_mouse_kbd_joystick.o: hog_mouse_kbd_joystick.h hog_mouse_kbd_joystick.c
${CC} ${CFLAGS} -c $(filter-out hog_mouse_kbd_joystick.h,$^) -o $@

hog_mouse_kbd_joystick: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} battery_service_server.o device_information_service_server.o hids_device.o hog_mouse_kbd_joystick.o
${CC} $^ ${LDFLAGS} -o $@


hog_boot_host_demo: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_CLIENT_OBJ} hog_boot_host_demo.o
${CC} $^ ${LDFLAGS} -o $@
Expand Down
Loading