|
Welcome to the EyeBot
Version 7 - RPi1
A Controller For Various Hardware IO
|
Header file for the IRTV functions. More...
#include "spi.h"#include <lirc/lirc_client.h>Go to the source code of this file.
Functions | |
| int | IRTVInit (int semantics) |
| Initializes the IR remote control decoder by calling IRTVInit() with the device name found in the corresponding HDT entry. More... | |
| int | IRTVGet (void) |
| Waits for IR input and returns the keycode. More... | |
| void | IRTVRelease (void) |
| Terminates the remote control decoder and releases the irtv thread. | |
| int | IRTVGetStatus (void) |
| Checks to see if IR input is enabled;. More... | |
| int | IRTVGetControllerCode () |
| void | IRTVSetControllerCode (int semantics) |
| void | IRTVSetHoldDelay (int delay) |
| sets the hold to prevent multiple presses being registered when a IR remote button is pressed More... | |
| void * | IRTVInputThread (void *data) |
| int | IRTVRead (void) |
| int | IRTVFlush (void) |
Variables | |
| void * | IRTVThread |
Header file for the IRTV functions.
| int IRTVGet | ( | void | ) |
Waits for IR input and returns the keycode.
0 = no key
| int IRTVGetStatus | ( | void | ) |
Checks to see if IR input is enabled;.
-0: not enabled -1: enabled
| int IRTVInit | ( | int | semantics | ) |
Initializes the IR remote control decoder by calling IRTVInit() with the device name found in the corresponding HDT entry.
| DeviceSemantics | semantics, for the IR remote this will be the controller code |
| void IRTVSetHoldDelay | ( | int | delay | ) |
sets the hold to prevent multiple presses being registered when a IR remote button is pressed
| int | delay: the value to set the delay to, larger value equal larger delay |
1.8.10