mouse_wacom_tablet: Always transmit coordinates when requested in remote mode
This commit is contained in:
@@ -230,7 +230,7 @@ wacom_transmit_prepare(mouse_wacom_t* wacom, int x, int y)
|
|||||||
memset(wacom->data, 0, sizeof(wacom->data));
|
memset(wacom->data, 0, sizeof(wacom->data));
|
||||||
if (wacom->transmit_id) {
|
if (wacom->transmit_id) {
|
||||||
wacom->transmission_format = 0;
|
wacom->transmission_format = 0;
|
||||||
snprintf((char*)wacom->data, sizeof(wacom->data), "~#SD51C V3.2.1.01\r\0");
|
snprintf((char*)wacom->data, sizeof(wacom->data), "~#SD51C V3.2.1.01\r");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
wacom->transmission_format = wacom->format;
|
wacom->transmission_format = wacom->format;
|
||||||
@@ -299,6 +299,9 @@ wacom_report_timer(void *priv)
|
|||||||
else if (wacom->remote_mode && !wacom->remote_req)
|
else if (wacom->remote_mode && !wacom->remote_req)
|
||||||
return;
|
return;
|
||||||
else {
|
else {
|
||||||
|
if (wacom->remote_mode && wacom->remote_req) {
|
||||||
|
goto transmit_prepare;
|
||||||
|
}
|
||||||
if (wacom->transmission_stopped || (!mouse_tablet_in_proximity && !wacom->always_report))
|
if (wacom->transmission_stopped || (!mouse_tablet_in_proximity && !wacom->always_report))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user