/* Number of pixels by which the cursor is moved when a button is pushed. */ #define MOVEMENT_SPEED 5 /* Number of input reports in this application. */ #define INPUT_REPORT_COUNT 3 /* Length of Mouse Input Report containing button data. */ #define INPUT_REP_BUTTONS_LEN 3 /* Length of Mouse Input Report containing movement data. */ #define INPUT_REP_MOVEMENT_LEN 3 /* Length of Mouse Input Report containing media player data. */ #define INPUT_REP_MEDIA_PLAYER_LEN 1 /* Index of Mouse Input Report containing button data. */ #define INPUT_REP_BUTTONS_INDEX 0 /* Index of Mouse Input Report containing movement data. */ #define INPUT_REP_MOVEMENT_INDEX 1 /* Index of Mouse Input Report containing media player data. */ #define INPUT_REP_MPLAYER_INDEX 2 /* Id of reference to Mouse Input Report containing button data. */ #define INPUT_REP_REF_BUTTONS_ID 1 /* Id of reference to Mouse Input Report containing movement data. */ #define INPUT_REP_REF_MOVEMENT_ID 2 /* Id of reference to Mouse Input Report containing media player data. */ #define INPUT_REP_REF_MPLAYER_ID 3
I want to develop a mouse using nrf54l15 now, but I am confused by the macro definitions for Bluetooth. I can only understand the macro definitions for Index, which represents the ID number of HID report. I am not very clear about other details. Do you have a PDF API document
bt_hids_inp_rep_send(&bsp_hids_obj, bsp_conn_mode_dev[i].conn, INPUT_REP_BUTTONS_INDEX, &buffer[3], 1, NULL);
There is another question, if I want complete mouse data, can I only call this function multiple times and change my report ID