LIRC libraries
Linux Infrared Remote Control
Loading...
Searching...
No Matches
release.h
Go to the documentation of this file.
1/****************************************************************************
2** release.h ***************************************************************
3****************************************************************************
4* Copyright (C) 2007 Christoph Bartelmus <lirc@bartelmus.de>
5*/
6
14#ifndef RELEASE_H
15#define RELEASE_H
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#include "ir_remote_types.h"
22
27void register_button_press(struct ir_remote* remote,
28 struct ir_ncode* ncode,
29 ir_code code,
30 int reps);
31
32
34void get_release_data(const char** remote_name,
35 const char** button_name,
36 int* reps);
37
41void get_release_time(struct timeval* tv);
42
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* RELEASE_H */
Describes and decodes the signals from IR remotes.
uint64_t ir_code
Denotes an internal coded representation for an IR transmission.
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
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
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 Command, corresponding to one (command defining) line of the configuration file.
One remote as represented in the configuration file.