forked from analogdevicesinc/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] v4l: add support for PixelView Ultra Pro
The following patch adds support for the PixelView Ultra Pro video capture card in v4l. - It removes the remote control key definitions from ir-kbd-gpio.c and moves them to ir-common.c so that they can be shared between bt878 and cx88 based cards. - The patch also moves the FUSIONHDTV_3_GOLD_Q card from number 27 to 28 to regain compatibility with the V4L cvs. Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Showing
6 changed files
with
64 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,38 +114,6 @@ static IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE] = { | |
[ 0x3e ] = KEY_VOLUMEUP, // 'volume +' | ||
}; | ||
|
||
static IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = { | ||
[ 2 ] = KEY_KP0, | ||
[ 1 ] = KEY_KP1, | ||
[ 11 ] = KEY_KP2, | ||
[ 27 ] = KEY_KP3, | ||
[ 5 ] = KEY_KP4, | ||
[ 9 ] = KEY_KP5, | ||
[ 21 ] = KEY_KP6, | ||
[ 6 ] = KEY_KP7, | ||
[ 10 ] = KEY_KP8, | ||
[ 18 ] = KEY_KP9, | ||
|
||
[ 3 ] = KEY_TUNER, // TV/FM | ||
[ 7 ] = KEY_SEARCH, // scan | ||
[ 28 ] = KEY_ZOOM, // full screen | ||
[ 30 ] = KEY_POWER, | ||
[ 23 ] = KEY_VOLUMEDOWN, | ||
[ 31 ] = KEY_VOLUMEUP, | ||
[ 20 ] = KEY_CHANNELDOWN, | ||
[ 22 ] = KEY_CHANNELUP, | ||
[ 24 ] = KEY_MUTE, | ||
|
||
[ 0 ] = KEY_LIST, // source | ||
[ 19 ] = KEY_INFO, // loop | ||
[ 16 ] = KEY_LAST, // +100 | ||
[ 13 ] = KEY_CLEAR, // reset | ||
[ 12 ] = BTN_RIGHT, // fun++ | ||
[ 4 ] = BTN_LEFT, // fun-- | ||
[ 14 ] = KEY_GOTO, // function | ||
[ 15 ] = KEY_STOP, // freeze | ||
}; | ||
|
||
/* Attila Kondoros <[email protected]> */ | ||
static IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters