I'm trying to get the toggle driver to work however, when compiling I get the following error. I did implement the ginput_lld_toggle_board.h board file and included the driver path in the compiler options.
/home/remon/Repositories/Heisenberg/firmware/heisenberg_v2/ugfx_2.5/src/gwin/gwin_widget.c: In function '_gwidgetInit':
/home/remon/Repositories/Heisenberg/firmware/heisenberg_v2/ugfx_2.5/src/gwin/gwin_widget.c:368:26: warning: implicit declaration of function 'ginputGetMouse' [-Wimplicit-function-declaration]
geventAttachSource(&gl, ginputGetMouse(GMOUSE_ALL_INSTANCES), GLISTEN_MOUSEMETA|GLISTEN_MOUSEDOWNMOVES);
^
/home/remon/Repositories/Heisenberg/firmware/heisenberg_v2/ugfx_2.5/src/gwin/gwin_widget.c:368:41: error: 'GMOUSE_ALL_INSTANCES' undeclared (first use in this function)
geventAttachSource(&gl, ginputGetMouse(GMOUSE_ALL_INSTANCES), GLISTEN_MOUSEMETA|GLISTEN_MOUSEDOWNMOVES);
^
/home/remon/Repositories/Heisenberg/firmware/heisenberg_v2/ugfx_2.5/src/gwin/gwin_widget.c:368:41: note: each undeclared identifier is reported only once for each function it appears in
/home/remon/Repositories/Heisenberg/firmware/heisenberg_v2/ugfx_2.5/src/gwin/gwin_widget.c:368:64: error: 'GLISTEN_MOUSEMETA' undeclared (first use in this function)
geventAttachSource(&gl, ginputGetMouse(GMOUSE_ALL_INSTANCES), GLISTEN_MOUSEMETA|GLISTEN_MOUSEDOWNMOVES);
^
/home/remon/Repositories/Heisenberg/firmware/heisenberg_v2/ugfx_2.5/src/gwin/gwin_widget.c:368:82: error: 'GLISTEN_MOUSEDOWNMOVES' undeclared (first use in this function)
geventAttachSource(&gl, ginputGetMouse(GMOUSE_ALL_INSTANCES), GLISTEN_MOUSEMETA|GLISTEN_MOUSEDOWNMOVES);
^
make: *** [ugfx/subdir.mk:23: ugfx/gfx_mk.o] Error 1