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?
..
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 */
..
The original C= NDK had NULL defined as an integer, use of GCC includes redefines this as a Pointer.
pointer vs integer inconsistency from that update.
not the only time I've seen it (TagItems are another use case to be clear with)