Merge pull request #2091 from jenkins101/lirc_rpi2

lirc_rpi: fixed some mce mappings, try to limit repeats.
This commit is contained in:
Stephan Raue 2013-03-18 15:39:50 -07:00
commit 1fbca9e3b3

View File

@ -2,13 +2,13 @@
# #
# Lirc config for lirc_rpi (GPIO) receiver. # Lirc config for lirc_rpi (GPIO) receiver.
# Enables use of MCE Remote, Apple MacMini and XBOX remote. # Enables use of MCE Remote, Apple MacMini and XBOX remote.
# Should work with any generic receiver
# #
######## ########
# #
# brand: HP/Philips/Microsoft/Other # brand: HP/Philips/Microsoft/Other
# model no. of remote control: Media Center Edition remote # model no. of remote control: Media Center Edition remote
# devices being controlled by this remote: HP Slimline S3100y and a # devices being controlled by this remote: myriad of devices with Media Center Edition receivers
# myriad of devices with Media Center Edition receivers
# #
# RC-6 config file # RC-6 config file
# #
@ -36,9 +36,7 @@
# Updated with codes for MCE 2007 Remote additional buttons # Updated with codes for MCE 2007 Remote additional buttons
# Visualization, Aspect, SlideShow, Eject # Visualization, Aspect, SlideShow, Eject
# Note: # Note:
# Renamed some buttons: DVD->DVDMenu, More->MoreInfo, Star->Asterisk, Hash->Pound # Blue, Yellow, Green, Red, and Teletext buttons do not exist on some HP remote
# Note:
# Blue, Yellow, Green, Red, and Teletext buttons do not exist on the HP remote
begin remote begin remote
@ -56,13 +54,16 @@ begin remote
gap 105000 gap 105000
toggle_bit 22 toggle_bit 22
rc6_mask 0x100000000 rc6_mask 0x100000000
min_repeat 4
# uncomment to suppress unwanted repeats
suppress_repeat 4
begin codes begin codes
#seen on HP Pavilion dv3t remote --Tim Mann, 3 Nov 2009 #seen on HP Pavilion dv3t remote --Tim Mann, 3 Nov 2009
Media 0x00007b7f KEY_VIDEO 0x00007b7f
PlayPause 0x00007b91 KEY_PLAYPAUSE 0x00007b91
#unused by HP remote #unused by HP remote
@ -70,7 +71,7 @@ begin remote
KEY_YELLOW 0x00007ba2 KEY_YELLOW 0x00007ba2
KEY_GREEN 0x00007ba3 KEY_GREEN 0x00007ba3
KEY_RED 0x00007ba4 KEY_RED 0x00007ba4
Teletext 0x00007ba5 KEY_TEXT 0x00007ba5
#ba6 - bae unused #ba6 - bae unused
BA6 0x00007ba6 BA6 0x00007ba6
@ -92,8 +93,8 @@ begin remote
BB4 0x00007bb4 BB4 0x00007bb4
KEY_VIDEO 0x00007bb5 KEY_VIDEO 0x00007bb5
Pictures 0x00007bb6 KEY_CAMERA 0x00007bb6
RecTV 0x00007bb7 KEY_PVR 0x00007bb7
KEY_AUDIO 0x00007bb8 KEY_AUDIO 0x00007bb8
KEY_TV 0x00007bb9 KEY_TV 0x00007bb9
@ -132,9 +133,9 @@ begin remote
BD6 0x00007bd6 BD6 0x00007bd6
BD7 0x00007bd7 BD7 0x00007bd7
Aspect 0x00007bd8 KEY_ANGLE 0x00007bd8
Guide 0x00007bd9 KEY_EPG 0x00007bd9
LiveTV 0x00007bda KEY_TV 0x00007bda
KEY_DVD 0x00007bdb KEY_DVD 0x00007bdb
#NoGap #NoGap
KEY_BACK 0x00007bdc KEY_BACK 0x00007bdc
@ -144,10 +145,10 @@ begin remote
KEY_DOWN 0x00007be0 KEY_DOWN 0x00007be0
KEY_UP 0x00007be1 KEY_UP 0x00007be1
#NoGap #NoGap
Star 0x00007be2 KEY_NUMERIC_STAR 0x00007be2
Hash 0x00007be3 KEY_NUMERIC_POUND 0x00007be3
#NoGap #NoGap
KEY_AGAIN 0x00007be4 KEY_PREVIOUS 0x00007be4
KEY_NEXT 0x00007be5 KEY_NEXT 0x00007be5
KEY_STOP 0x00007be6 KEY_STOP 0x00007be6
KEY_PAUSE 0x00007be7 KEY_PAUSE 0x00007be7
@ -161,7 +162,7 @@ begin remote
KEY_VOLUMEDOWN 0x00007bee KEY_VOLUMEDOWN 0x00007bee
KEY_VOLUMEUP 0x00007bef KEY_VOLUMEUP 0x00007bef
#NoGap #NoGap
More 0x00007bf0 KEY_INFO 0x00007bf0
KEY_MUTE 0x00007bf1 KEY_MUTE 0x00007bf1
KEY_HOME 0x00007bf2 KEY_HOME 0x00007bf2
KEY_POWER 0x00007bf3 KEY_POWER 0x00007bf3
@ -183,7 +184,6 @@ begin remote
end remote end remote
#
# this config file was automatically generated # this config file was automatically generated
# using lirc-0.8.2(macmini) on Tue Dec 11 11:35:26 2007 # using lirc-0.8.2(macmini) on Tue Dec 11 11:35:26 2007
# #
@ -229,14 +229,13 @@ end remote
# #
# contributed by # contributed by
# #
# brand: xbox.conf # brand: Microsoft
# model no. of remote control: # model: Xbox DVD Remote
# devices being controlled by this remote: # devices being controlled by this remote: xbox
#
begin remote begin remote
name xbox.conf name XboxDVDDongle
bits 8 bits 8
eps 30 eps 30
aeps 100 aeps 100
@ -245,7 +244,7 @@ begin remote
zero 0 0 zero 0 0
gap 63950 gap 63950
min_repeat 4 min_repeat 4
# suppress_repeat 4 suppress_repeat 4
# uncomment to suppress unwanted repeats # uncomment to suppress unwanted repeats
# toggle_bit_mask 0x72 # toggle_bit_mask 0x72
toggle_bit_mask 0xE1 toggle_bit_mask 0xE1
@ -282,4 +281,3 @@ begin remote
end remote end remote