HID Mouse Device Profile Application declarations.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
#include "stdio.h"
Macros | |
#define | APP_BUTTON_EVENT_ID (1) |
Button event ID. More... | |
#define | KEY_PAD_DEBOUNCE_TIME (200) |
Keypad debounce time. More... | |
#define | MOUSE_CHANGE_DIRECTION (5) |
Mouse change direction after number of attempt. More... | |
#define | MOUSE_MOVEMENT_POS 10 |
Mouse movement position. More... | |
Enumerations | |
enum | mouse_move { MOUSE_RIGHT_MOVEMENT = 1, MOUSE_LEFT_MOVEMENT, MOUSE_UP_MOVEMENT, MOUSE_DOWN_MOVEMENT } |
Mouse movement. More... | |
Functions | |
static at_ble_status_t | hid_connect_cb (void *params) |
Callback call during connect event. More... | |
static at_ble_status_t | hid_custom_event (void *param) |
Callback call during custom event. More... | |
static at_ble_status_t | hid_disconnect_cb (void *params) |
Callback call during disconnect event. More... | |
static at_ble_status_t | hid_notification_confirmed_cb (void *params) |
Callback call during notification confirmation. More... | |
#define APP_BUTTON_EVENT_ID (1) |
Button event ID.
#define KEY_PAD_DEBOUNCE_TIME (200) |
Keypad debounce time.
#define MOUSE_CHANGE_DIRECTION (5) |
Mouse change direction after number of attempt.
Referenced by main().
#define MOUSE_MOVEMENT_POS 10 |
Mouse movement position.
Referenced by main().
enum mouse_move |
|
static |
Callback call during connect event.
|
static |
Callback call during custom event.
|
static |
Callback call during disconnect event.
|
static |
Callback call during notification confirmation.