digitizer
HID Digitizer
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 |
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.
x
The X value of the contact position, from 0 to 1.
y
The Y value of the contact position, from 0 to 1.
public void
host_digitizer_send
(
digitizer_t
* digitizer)
digitizer_t
Members | Descriptions |
---|---|
public bool in_range |
|
public bool tip |
|
public bool barrel |
|
public float x |
|
public float y |
|
public bool dirty |
public bool
in_range
public bool
tip
public bool
barrel
public float
x
public float
y
public bool
dirty