mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-17 16:15:47 +02:00
4.6 KiB
4.6 KiB
group digitizer
HID Digitizer
Summary
| Members | Descriptions |
|---|---|
public void digitizer_flush(void) |
Send the digitizer report to the host if it is marked as dirty. |
public void digitizer_in_range_on(void) |
Assert the "in range" indicator, and flush the report. |
public void digitizer_in_range_off(void) |
Deassert the "in range" indicator, and flush the report. |
public void digitizer_tip_switch_on(void) |
Assert the tip switch, and flush the report. |
public void digitizer_tip_switch_off(void) |
Deassert the tip switch, and flush the report. |
public void digitizer_barrel_switch_on(void) |
Assert the barrel switch, and flush the report. |
public void digitizer_barrel_switch_off(void) |
Deassert the barrel switch, and flush the report. |
public void digitizer_set_position(float x,float y) |
Set the absolute X and Y position of the digitizer contact, and flush the report. |
public void host_digitizer_send(digitizer_t * digitizer) |
|
struct digitizer_t |
Members
public void digitizer_flush(void)
Send the digitizer report to the host if it is marked as dirty.
public void digitizer_in_range_on(void)
Assert the "in range" indicator, and flush the report.
public void digitizer_in_range_off(void)
Deassert the "in range" indicator, and flush the report.
public void digitizer_tip_switch_on(void)
Assert the tip switch, and flush the report.
public void digitizer_tip_switch_off(void)
Deassert the tip switch, and flush the report.
public void digitizer_barrel_switch_on(void)
Assert the barrel switch, and flush the report.
public void digitizer_barrel_switch_off(void)
Deassert the barrel switch, and flush the report.
public void digitizer_set_position(float x,float y)
Set the absolute X and Y position of the digitizer contact, and flush the report.
Parameters
-
xThe X value of the contact position, from 0 to 1. -
yThe Y value of the contact position, from 0 to 1.
public void host_digitizer_send(digitizer_t * digitizer)
struct digitizer_t
Summary
| Members | Descriptions |
|---|---|
public bool in_range |
|
public bool tip |
|
public bool barrel |
|
public float x |
|
public float y |
|
public bool dirty |