version 2.8
ginput_toggle.c File Reference

Detailed Description

GINPUT toggle code.

Definition in file ginput_toggle.c.

#include "../../gfx.h"
#include "ginput_driver_toggle.h"

Go to the source code of this file.

Functions

GSourceHandle ginputGetToggle (uint16_t instance)
 Create a toggle input instance. More...
 
void ginputInvertToggle (uint16_t instance, bool_t invert)
 Can be used to invert the sense of a toggle. More...
 
bool_t ginputGetToggleStatus (uint16_t instance, GEventToggle *ptoggle)
 Get the current toggle status. More...