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
18 extern "C" {
19#endif
20
21#include "ir_remote_types.h"
22
27 void register_button_press(struct ir_remote* remote,
28 struct ir_ncode* ncode,
29 ir_code code,
30 int reps);
31
32
34 void get_release_data(const char** remote_name,
35 const char** button_name,
36 int* reps);
37
41 void get_release_time(struct timeval* tv);
42
43
44#ifdef __cplusplus
45}
46#endif
47
48#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