include/asuro_irrc5_commands.h

Go to the documentation of this file.
00001 /** @file
00002  * 
00003  * Assignments between RC5 codes and ASURO control commands.
00004  * 
00005  * @author Denis Martin
00006  * 
00007  * This program is free software; you can redistribute it and/or modify it under
00008  * the terms of the GNU General Public License as published by the Free Software
00009  * Foundation; either version 2 of the License, or (at your option) any later
00010  * version.
00011  * This program is distributed in the hope that it will be useful, but WITHOUT
00012  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00013  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
00014  * details. You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software Foundation, Inc.,
00016  * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
00017  */
00018 
00019 #ifndef ASURO_IRRC5_COMMANDS_H_
00020 #define ASURO_IRRC5_COMMANDS_H_
00021 
00022 #include "asuro_irrc5.h"
00023 
00024 
00025 // which remote control to use?
00026 #define AS_RC5_HAUPPAUGE
00027 
00028 
00029 #ifdef AS_RC5_HAUPPAUGE
00030 /** @name RC5 code/command mappings for Hauppauge WinTV remote control */
00031 //@{
00032 #include "asuro_irrc5_hauppauge.h"
00033 
00034 #define AS_RC5_RCMASK           AS_RC5_RCMASK_HAUPPAUGE             ///< RC dependend mask
00035 
00036 #define AS_RC5_CC_STOP          AS_RC5_CODE_HAUPPAUGE_FULLSCREEN    ///< emergency stop
00037 #define AS_RC5_CC_FWD           AS_RC5_CODE_CHUP                    ///< go forward
00038 #define AS_RC5_CC_RWD           AS_RC5_CODE_CHDOWN                  ///< go backward
00039 #define AS_RC5_CC_RIGHT         AS_RC5_CODE_VOLUP                   ///< turn right
00040 #define AS_RC5_CC_LEFT          AS_RC5_CODE_VOLDOWN                 ///< turn left
00041 #define AS_RC5_CC_STATUS_LED    AS_RC5_CODE_HAUPPAUGE_TV            ///< toggle status LED
00042 #define AS_RC5_CC_FRONT_LED     AS_RC5_CODE_1                       ///< toggle front LED
00043 #define AS_RC5_CC_LBACK_LED     AS_RC5_CODE_2                       ///< toggle left back LED
00044 #define AS_RC5_CC_RBACK_LED     AS_RC5_CODE_3                       ///< toggle right back LED
00045 //@}
00046 #endif // AS_RC5_HAUPPAUGE
00047 
00048 
00049 #endif /*ASURO_IRRC5_COMMANDS_H_*/

Generated on Fri May 12 10:11:15 2006 for simsuro by  doxygen 1.4.6