mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
d/wmr: Follow common naming of update_inputs [NFC]
This commit is contained in:
parent
c8bb2009f2
commit
b02645980b
|
@ -279,7 +279,7 @@ handle_input_packet(struct wmr_controller_base *wcb, uint64_t time_ns, uint8_t *
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
wmr_controller_hp_update_xrt_inputs(struct xrt_device *xdev)
|
wmr_controller_hp_update_inputs(struct xrt_device *xdev)
|
||||||
{
|
{
|
||||||
DRV_TRACE_MARKER();
|
DRV_TRACE_MARKER();
|
||||||
|
|
||||||
|
@ -350,7 +350,7 @@ wmr_controller_hp_create(struct wmr_controller_connection *conn,
|
||||||
}
|
}
|
||||||
|
|
||||||
wcb->base.destroy = wmr_controller_hp_destroy;
|
wcb->base.destroy = wmr_controller_hp_destroy;
|
||||||
wcb->base.update_inputs = wmr_controller_hp_update_xrt_inputs;
|
wcb->base.update_inputs = wmr_controller_hp_update_inputs;
|
||||||
wcb->base.set_output = wmr_controller_hp_set_output;
|
wcb->base.set_output = wmr_controller_hp_set_output;
|
||||||
|
|
||||||
SET_INPUT(wcb, MENU_CLICK, MENU_CLICK);
|
SET_INPUT(wcb, MENU_CLICK, MENU_CLICK);
|
||||||
|
|
|
@ -292,7 +292,7 @@ handle_input_packet(struct wmr_controller_base *wcb, uint64_t time_ns, uint8_t *
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
wmr_controller_og_update_xrt_inputs(struct xrt_device *xdev)
|
wmr_controller_og_update_inputs(struct xrt_device *xdev)
|
||||||
{
|
{
|
||||||
DRV_TRACE_MARKER();
|
DRV_TRACE_MARKER();
|
||||||
|
|
||||||
|
@ -360,7 +360,7 @@ wmr_controller_og_create(struct wmr_controller_connection *conn,
|
||||||
wcb->base.name = XRT_DEVICE_WMR_CONTROLLER;
|
wcb->base.name = XRT_DEVICE_WMR_CONTROLLER;
|
||||||
}
|
}
|
||||||
wcb->base.destroy = wmr_controller_og_destroy;
|
wcb->base.destroy = wmr_controller_og_destroy;
|
||||||
wcb->base.update_inputs = wmr_controller_og_update_xrt_inputs;
|
wcb->base.update_inputs = wmr_controller_og_update_inputs;
|
||||||
wcb->base.set_output = wmr_controller_og_set_output;
|
wcb->base.set_output = wmr_controller_og_set_output;
|
||||||
|
|
||||||
if (pid == ODYSSEY_CONTROLLER_PID) {
|
if (pid == ODYSSEY_CONTROLLER_PID) {
|
||||||
|
|
Loading…
Reference in a new issue