24 #ifndef _GINPUT_DIAL_H
25 #define _GINPUT_DIAL_H
27 #if GINPUT_NEED_DIAL || defined(__DOXYGEN__)
34 #define GEVENT_DIAL (GEVENT_GINPUT_FIRST+4)
36 typedef struct GEventDial_t {
void ginputSetDialRange(gU16 instance, gU16 max)
Set the maximum value.
void ginputResetDialRange(gU16 instance)
Reset the value back to the hardware default.
GSourceHandle ginputGetDial(gU16 instance)
Create a dial input instance.
gU16 ginputGetDialRange(gU16 instance)
Get the maximum value.
void ginputSetDialSensitivity(gU16 instance, gU16 diff)
Set the level change required before a dial even is generated (threshold)
gBool ginputGetDialStatus(gU16 instance, GEventDial *pdial)
Get the current dial status.