mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 18:03:37 +02:00
introduce src/driver/rcinput_fake.h
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e520b1032
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-09-27 (Tue, 27 Sep 2022)
Origin message was:
------------------
- introduce src/driver/rcinput_fake.h
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -7,40 +7,13 @@
|
||||
# usage: sh ./create_rcsim_h.sh > rcsim.h
|
||||
|
||||
cat << EOF
|
||||
// rcsim.h - automatically created from driver/rcinput.h
|
||||
// rcsim.h - automatically created from driver/rcinput.h and driver/rcinput_fake.h
|
||||
|
||||
#ifndef KEY_NONEXISTING
|
||||
#define KEY_NONEXISTING 0x0
|
||||
#endif
|
||||
EOF
|
||||
|
||||
#ifndef KEY_GAMES
|
||||
#define KEY_GAMES 0x1a1 /* Media Select Games */
|
||||
#endif
|
||||
cat driver/rcinput_fake.h
|
||||
|
||||
#ifndef KEY_TOPLEFT
|
||||
#define KEY_TOPLEFT 0x1a2
|
||||
#endif
|
||||
|
||||
#ifndef KEY_TOPRIGHT
|
||||
#define KEY_TOPRIGHT 0x1a3
|
||||
#endif
|
||||
|
||||
#ifndef KEY_BOTTOMLEFT
|
||||
#define KEY_BOTTOMLEFT 0x1a4
|
||||
#endif
|
||||
|
||||
#ifndef KEY_BOTTOMRIGHT
|
||||
#define KEY_BOTTOMRIGHT 0x1a5
|
||||
#endif
|
||||
|
||||
#define KEY_POWERON KEY_FN_F1
|
||||
#define KEY_POWEROFF KEY_FN_F2
|
||||
#define KEY_STANDBYON KEY_FN_F3
|
||||
#define KEY_STANDBYOFF KEY_FN_F4
|
||||
#define KEY_MUTEON KEY_FN_F5
|
||||
#define KEY_MUTEOFF KEY_FN_F6
|
||||
#define KEY_ANALOGON KEY_FN_F7
|
||||
#define KEY_ANALOGOFF KEY_FN_F8
|
||||
cat << EOF
|
||||
|
||||
enum {
|
||||
EOF
|
||||
@@ -67,6 +40,4 @@ cat << EOF
|
||||
{ "KEY_SETUP", KEY_MENU },
|
||||
{ "KEY_HOME", KEY_EXIT },
|
||||
};
|
||||
|
||||
EOF
|
||||
|
||||
|
Reference in New Issue
Block a user