ESP-IDF
hidd_report_item_t::usage
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
hidd_report_item_t::usage
hidd_report_item_t::usage field
Syntax
Show:
Summary
Declaration
from
esp_hidd_private.h:31
esp_hid_usage_t
usage
;
Examples
References
from
examples
Code
Location
Referrer
esp_hid_usage_t
usage
;
// generic, keyboard, mouse, joystick or gamepad
esp_hidd_private.h:31
if
(
report
->
usage
==
ESP_HID_USAGE_KEYBOARD
)
{
//Boot Keyboard Input
ble_hidd.c:317
create_hid_db()
ESP_LOGV
(
TAG
,
"HID READ[%d] %8s %7s %6s id: %d, need_resp: %d"
,
device_index
,
esp_hid_usage_str
(
map
->
usage
)
,
esp_hid_report_type_str
(
map
->
report_type
)
,
esp_hid_protocol_mode_str
(
map
->
protocol_mode
)
,
map
->
report_id
,
param
->
read
.
need_rsp
)
;
ble_hidd.c:502
hid_event_handler()
ESP_LOGV
(
TAG
,
"HID CCC[%d] %8s %7s %6s id: %d, Notify: %s, Indicate: %s"
,
device_index
,
esp_hid_usage_str
(
map
->
usage
)
,
esp_hid_report_type_str
(
map
->
report_type
)
,
esp_hid_protocol_mode_str
(
map
->
protocol_mode
)
,
map
->
report_id
,
map
->
ccc
.
notify_enable
?
"On"
:
"Off"
,
map
->
ccc
.
indicate_enable
?
"On"
:
"Off"
)
;
ble_hidd.c:529
hid_event_handler()
ESP_LOGV
(
TAG
,
"HID WRITE %8s %7s %6s id: %d, len: %d"
,
esp_hid_usage_str
(
map
->
usage
)
,
esp_hid_report_type_str
(
map
->
report_type
)
,
esp_hid_protocol_mode_str
(
map
->
protocol_mode
)
,
map
->
report_id
,
param
->
write
.
len
)
;
ble_hidd.c:531
hid_event_handler()
p_cb_param
->
output
.
usage
=
map
->
usage
;
ble_hidd.c:552
hid_event_handler()
p_cb_param
->
feature
.
usage
=
map
->
usage
;
ble_hidd.c:560
hid_event_handler()
ESP_LOGV
(
TAG
,
"HID SET[%d] %8s %7s %6s id: %d, status: 0x%02x"
,
device_index
,
esp_hid_usage_str
(
map
->
usage
)
,
esp_hid_report_type_str
(
map
->
report_type
)
,
esp_hid_protocol_mode_str
(
map
->
protocol_mode
)
,
map
->
report_id
,
param
->
set_attr_val
.
status
)
;
ble_hidd.c:580
hid_event_handler()
dev
->
devices
[
d
]
.
reports
[
r
]
.
usage
=
rmap
->
reports
[
r
]
.
usage
;
ble_hidd.c:708
ble_hid_init_config()
dev
->
devices
[
d
]
.
reports
[
r
]
.
usage
=
rmap
->
reports
[
r
]
.
usage
;
bt_hidd.c:134
bt_hidd_init_config()
p_cb_param
->
feature
.
usage
=
p_rpt
->
usage
;
bt_hidd.c:663
bt_hidd_cb()
p_cb_param
->
feature
.
usage
=
p_rpt
->
usage
;
bt_hidd.c:704
bt_hidd_cb()
p_cb_param
->
output
.
usage
=
p_rpt
->
usage
;
bt_hidd.c:753
bt_hidd_cb()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
hidd_report_item_t::usage
is written by 2 functions and is read by 3 functions:
ble_hid_init_config()
bt_hidd_init_config()
All items filtered out
hidd_report_item_t::usage
create_hid_db()
hid_event_handler()
bt_hidd_cb()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out