mirror of
https://github.com/preble/libpinproc
synced 2026-02-22 18:15:25 +01:00
Implemented PRSwitchGetStates to retrieve the current state of each switch
This commit is contained in:
@@ -334,6 +334,9 @@ PR_EXPORT PRResult PRSwitchUpdateConfig(PRHandle handle, PRSwitchConfig *switchC
|
||||
*/
|
||||
PR_EXPORT PRResult PRSwitchUpdateRule(PRHandle handle, uint8_t switchNum, PREventType eventType, PRSwitchRule *rule, PRDriverState *linkedDrivers, int numDrivers);
|
||||
|
||||
/** Returns a list of PREventTypes describing the states of the requested number of switches */
|
||||
PR_EXPORT PRResult PRSwitchGetStates(PRHandle handle, PREventType * switchStates, uint16_t numSwitches);
|
||||
|
||||
/** @} */ // End of Switches & Events
|
||||
|
||||
// DMD
|
||||
|
||||
Reference in New Issue
Block a user