Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
dfbbf5da
Commit
dfbbf5da
authored
Nov 20, 2011
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] em28xx: Add IR support for HVR-930C
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
20ae9742
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
drivers/media/rc/keymaps/rc-hauppauge.c
drivers/media/rc/keymaps/rc-hauppauge.c
+51
-0
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-cards.c
+1
-0
No files found.
drivers/media/rc/keymaps/rc-hauppauge.c
View file @
dfbbf5da
...
...
@@ -181,6 +181,57 @@ static struct rc_map_table rc5_hauppauge_new[] = {
{
0x1d3d
,
KEY_POWER
},
{
0x1d3f
,
KEY_HOME
},
/*
* Keycodes for PT# R-005 remote bundled with Haupauge HVR-930C
* Keycodes start with address = 0x1c
*/
{
0x1c3b
,
KEY_GOTO
},
{
0x1c3d
,
KEY_POWER
},
{
0x1c14
,
KEY_UP
},
{
0x1c15
,
KEY_DOWN
},
{
0x1c16
,
KEY_LEFT
},
{
0x1c17
,
KEY_RIGHT
},
{
0x1c25
,
KEY_OK
},
{
0x1c00
,
KEY_0
},
{
0x1c01
,
KEY_1
},
{
0x1c02
,
KEY_2
},
{
0x1c03
,
KEY_3
},
{
0x1c04
,
KEY_4
},
{
0x1c05
,
KEY_5
},
{
0x1c06
,
KEY_6
},
{
0x1c07
,
KEY_7
},
{
0x1c08
,
KEY_8
},
{
0x1c09
,
KEY_9
},
{
0x1c1f
,
KEY_EXIT
},
/* BACK */
{
0x1c0d
,
KEY_MENU
},
{
0x1c1c
,
KEY_TV
},
{
0x1c10
,
KEY_VOLUMEUP
},
{
0x1c11
,
KEY_VOLUMEDOWN
},
{
0x1c20
,
KEY_CHANNELUP
},
{
0x1c21
,
KEY_CHANNELDOWN
},
{
0x1c0f
,
KEY_MUTE
},
{
0x1c12
,
KEY_PREVIOUS
},
/* Prev */
{
0x1c36
,
KEY_STOP
},
{
0x1c37
,
KEY_RECORD
},
{
0x1c24
,
KEY_LAST
},
/* <| */
{
0x1c1e
,
KEY_NEXT
},
/* >| */
{
0x1c0a
,
KEY_TEXT
},
{
0x1c0e
,
KEY_SUBTITLE
},
/* CC */
{
0x1c32
,
KEY_REWIND
},
{
0x1c30
,
KEY_PAUSE
},
{
0x1c35
,
KEY_PLAY
},
{
0x1c34
,
KEY_FASTFORWARD
},
/*
* Keycodes for the old Black Remote Controller
* This one also uses RC-5 protocol
...
...
drivers/media/video/em28xx/em28xx-cards.c
View file @
dfbbf5da
...
...
@@ -922,6 +922,7 @@ struct em28xx_board em28xx_boards[] = {
#else
.
tuner_type
=
TUNER_ABSENT
,
#endif
.
ir_codes
=
RC_MAP_HAUPPAUGE
,
.
i2c_speed
=
EM2874_I2C_SECONDARY_BUS_SELECT
|
EM28XX_I2C_CLK_WAIT_ENABLE
|
EM28XX_I2C_FREQ_400_KHZ
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment