![]() |
LIRC libraries
LinuxInfraredRemoteControl
|
#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
#include "media/lirc.h"
#include "lirc/release.h"
#include "lirc/receive.h"
#include "lirc/lirc_log.h"
Go to the source code of this file.
Functions | |
void | register_input (void) |
If there is a pending release event, set timer to current time + release_gap. | |
void | register_button_press (struct ir_remote *remote, struct ir_ncode *ncode, ir_code code, int reps) |
Set up pending release events for given button, including the release_gap. | |
void | get_release_data (const char **remote_name, const char **button_name, int *reps) |
void | set_release_suffix (const char *s) |
void | get_release_time (struct timeval *tv) |
Get time for pending release event if it exists, else a noop. | |
const char * | check_release_event (const char **remote_name, const char **button_name) |
const char * | trigger_release_event (const char **remote_name, const char **button_name) |
If there is a release event pending clears the release timer and formats a complete client message. More... | |
const char * | release_map_remotes (struct ir_remote *old, struct ir_remote *new, const char **remote_name, const char **button_name) |
const char* trigger_release_event | ( | const char ** | remote_name, |
const char ** | button_name | ||
) |
If there is a release event pending clears the release timer and formats a complete client message.
remote | name Name of remote for the release message. |
button | name Name of button for the release message. |