inputevent->ie_Qualifier on wiki (Input_Device)
Posted: Sat Aug 22, 2015 11:48 am
Looking on the wiki http://wiki.amigaos.net/wiki/Input_Device found that 'inputevent->ie_Qualifier = NULL' throws a "warning: assignment makes integer from pointer without a cast", changing to 'inputevent->ie_Qualifier = 0' solves it.
Should then the wiki example/doc where it says '...ie_Qualifier...NULL' be changed to '...ie_Qualifier...0', or maybe add a new #define IEQUALIFIER_ABSOLUTEMOUSE 0x0000?
SDK inputevent.h:
Should then the wiki example/doc where it says '...ie_Qualifier...NULL' be changed to '...ie_Qualifier...0', or maybe add a new #define IEQUALIFIER_ABSOLUTEMOUSE 0x0000?
SDK inputevent.h:
Code: Select all
..
struct InputEvent
{
struct InputEvent *ie_NextEvent; /* the chronologically next event */
uint8 ie_Class; /* the input event class */
uint8 ie_SubClass; /* optional subclass of the class */
uint16 ie_Code; /* the input event code */
uint16 ie_Qualifier; /* qualifiers in effect for the event */
..