[mythtv-commits] Ticket #7806: Ctrl+Shift+key are working as Ctrl+key in TV playback

MythTV mythtv at cvs.mythtv.org
Sun Dec 27 20:50:23 UTC 2009


#7806: Ctrl+Shift+key are working as Ctrl+key in TV playback
-----------------------------------+----------------------------------------
 Reporter:  vodicka.petr@…         |        Owner:  ijr       
     Type:  defect                 |       Status:  closed    
 Priority:  minor                  |    Milestone:  unknown   
Component:  MythTV - General       |      Version:  0.22-fixes
 Severity:  medium                 |   Resolution:  wontfix   
  Mlocked:  0                      |  
-----------------------------------+----------------------------------------

Comment(by vodicka.petr@…):

 Thank you for your response.

 So if somebody is facing this issue too, this is how to make this work:

 1) Find which /dev/input/eventX belongs to your remote (or keyboard if you
 want to remap that) with cat /proc/bus/input/devices (it's
 /dev/input/event8 in my case).

 2) Use default keymap for keyboards from lirc package. It's
 /usr/share/lirc/remotes/devinput/lircd.conf.devinput on OpenSUSE if you
 have Lirc package installed. Copy to /etc/lircd.conf (or
 /etc/lirc.d/lircd.conf or something like that - it depends on your
 distribution). Or you can create your own lircd.conf with "irrecord
 --driver=devinput --device=/dev/input/event8 /etc/lircd.conf".

 3) Setup lircd to use devinput driver and proper device. It's in
 /etc/sysconfig/lirc on OpenSUSE. Set LIRCD_DRIVER="devinput" and
 LIRCD_DEVICE="/dev/input/event8".

 4) Create key mappings with .lircrc. Example:

 {{{
 begin
   prog = irxevent
   button = KEY_UP
   config = Key Down CurrentWindow
 end

 begin
   prog = irxevent
   button = KEY_LEFTCTRL
   button = KEY_LEFTSHIFT
   button = KEY_P
   config = Key ctrl-P CurrentWindow
 end
 }}}

 5) Make sure, that lircd and irxevent is started after system start.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7806#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list