Loading...
Searching...
No Matches
release.h
Go to the documentation of this file.
/****************************************************************************
** release.h ***************************************************************
****************************************************************************
* Copyright (C) 2007 Christoph Bartelmus <lirc@bartelmus.de>
*/
#ifndef RELEASE_H
#define RELEASE_H
#ifdef __cplusplus
extern "C" {
#endif
#include "ir_remote_types.h"
void register_button_press(struct ir_remote* remote,
struct ir_ncode* ncode,
ir_code code,
int reps);
void get_release_data(const char** remote_name,
const char** button_name,
int* reps);
void get_release_time(struct timeval* tv);
#ifdef __cplusplus
}
#endif
#endif /* RELEASE_H */
ir_remote_types.h
Describes and decodes the signals from IR remotes.
ir_code
uint64_t ir_code
Denotes an internal coded representation for an IR transmission.
Definition ir_remote_types.h:43
get_release_data
void get_release_data(const char **remote_name, const char **button_name, int *reps)
Get data from saved from last call to register_button_press().
Definition release.c:84
register_button_press
void register_button_press(struct ir_remote *remote, struct ir_ncode *ncode, ir_code code, int reps)
Set up pending events for given button, including the release_gap.
Definition release.c:58
get_release_time
void get_release_time(struct timeval *tv)
Get time for last call to register_button_press() if defined, else a noop.
Definition release.c:99
ir_ncode
IR Command, corresponding to one (command defining) line of the configuration file.
Definition ir_remote_types.h:60
ir_remote
One remote as represented in the configuration file.
Definition ir_remote_types.h:150