#include <media/rc-core.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/module.h>
#include "rc-core-priv.h"
Go to the source code of this file.
#define ADD_HOTPLUG_VAR |
( |
|
fmt, |
|
|
|
val... |
|
) |
| |
Value:do { \
if (err) \
} while (0)
Definition at line 936 of file rc-main.c.
#define IR_KEYPRESS_TIMEOUT 250 |
#define IR_TAB_MAX_SIZE 8192 |
#define IR_TAB_MIN_SIZE 256 |
#define PROTO_NONE "none" |
module_exit |
( |
rc_core_exit |
| ) |
|
module_init |
( |
rc_core_init |
| ) |
|
rc_g_keycode_from_table() - gets the keycode that corresponds to a scancode : the struct rc_dev descriptor of the device : the scancode to look for
- Returns
- : the corresponding keycode, or KEY_RESERVED
This routine is used by drivers which need to convert a scancode to a keycode. Normally it should not be used since drivers should have no interest in keycodes.
Definition at line 500 of file rc-main.c.
rc_keydown() - generates input event for a key press : the struct rc_dev descriptor of the device : the scancode that we're seeking : the toggle value (protocol dependent, if the protocol doesn't support toggle values, this should be set to zero)
This routine is used to signal that a key has been pressed on the remote control.
Definition at line 664 of file rc-main.c.
rc_keydown_notimeout() - generates input event for a key press without an automatic keyup event at a later time : the struct rc_dev descriptor of the device : the scancode that we're seeking : the toggle value (protocol dependent, if the protocol doesn't support toggle values, this should be set to zero)
This routine is used to signal that a key has been pressed on the remote control. The driver must manually call rc_keyup() at a later stage.
Definition at line 691 of file rc-main.c.
rc_keyup() - signals the release of a keypress : the struct rc_dev descriptor of the device
This routine is used to signal that a key has been released on the remote control.
Definition at line 550 of file rc-main.c.
rc_repeat() - signals that a key is still pressed : the struct rc_dev descriptor of the device
This routine is used by IR decoders when a repeat message which does not include the necessary bits to reproduce the scancode has been received.
Definition at line 596 of file rc-main.c.