mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
tuxtxt: use neutrino rcinput
Origin commit data
------------------
Commit: af6881a53c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-02 (Fri, 02 Nov 2012)
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#include FT_CACHE_H
|
||||
#include FT_CACHE_SMALL_BITMAPS_H
|
||||
|
||||
#include <driver/rcinput.h>
|
||||
|
||||
/* devices */
|
||||
|
||||
#if TUXTXT_CFG_STANDALONE
|
||||
@@ -144,6 +146,7 @@ int tv_pip_y;
|
||||
#define hold_mosaic 0x1E
|
||||
#define release_mosaic 0x1F
|
||||
|
||||
#if 0
|
||||
/* rc codes */
|
||||
#define RC_0 0x00
|
||||
#define RC_1 0x01
|
||||
@@ -172,6 +175,36 @@ int tv_pip_y;
|
||||
#define RC_DBOX 0x18
|
||||
#define RC_TEXT 0x19
|
||||
#define RC_HOME 0x1F
|
||||
#else
|
||||
#define RC_0 CRCInput::RC_0
|
||||
#define RC_1 CRCInput::RC_1
|
||||
#define RC_2 CRCInput::RC_2
|
||||
#define RC_3 CRCInput::RC_3
|
||||
#define RC_4 CRCInput::RC_4
|
||||
#define RC_5 CRCInput::RC_5
|
||||
#define RC_6 CRCInput::RC_6
|
||||
#define RC_7 CRCInput::RC_7
|
||||
#define RC_8 CRCInput::RC_8
|
||||
#define RC_9 CRCInput::RC_9
|
||||
#define RC_RIGHT CRCInput::RC_right
|
||||
#define RC_LEFT CRCInput::RC_left
|
||||
#define RC_UP CRCInput::RC_up
|
||||
#define RC_DOWN CRCInput::RC_down
|
||||
#define RC_OK CRCInput::RC_ok
|
||||
#define RC_MUTE CRCInput::RC_spkr
|
||||
#define RC_STANDBY CRCInput::RC_standby
|
||||
#define RC_GREEN CRCInput::RC_green
|
||||
#define RC_YELLOW CRCInput::RC_yellow
|
||||
#define RC_RED CRCInput::RC_red
|
||||
#define RC_BLUE CRCInput::RC_blue
|
||||
#define RC_PLUS CRCInput::RC_plus
|
||||
#define RC_MINUS CRCInput::RC_minus
|
||||
#define RC_HELP CRCInput::RC_help
|
||||
#define RC_INFO CRCInput::RC_info
|
||||
#define RC_DBOX CRCInput::RC_setup
|
||||
#define RC_TEXT CRCInput::RC_text
|
||||
#define RC_HOME CRCInput::RC_home
|
||||
#endif
|
||||
|
||||
typedef enum /* object type */
|
||||
{
|
||||
@@ -579,7 +612,7 @@ int subtitledelay, delaystarted;
|
||||
FILE *conf;
|
||||
|
||||
|
||||
unsigned short RCCode;
|
||||
neutrino_msg_t RCCode;
|
||||
|
||||
struct _pid_table
|
||||
{
|
||||
|
Reference in New Issue
Block a user