From: Justin S. <jus...@gm...> - 2009-05-29 01:13:45
|
Hi Nick, Thanks for the response. I am looking to implement logic for a sequence of remote control key press. The function key has its own key code and doesn't modify other key codes. So if the function key is pressed, then the meaning of the key changes, so instead of sending 1 it should send F1. Is such a configuration possible with lircrc? Thanks, Justin > -----Original Message----- > From: Nick Morrott [mailto:kno...@gm...] > Sent: Thursday, May 28, 2009 3:32 PM > To: lirc-list > Subject: Re: lirc/irxevent question > > On 28/05/2009, Justin Smith <jus...@gm...> wrote: > > I am using a remote which has a 2nd key. Basically this key acts > > similar to a shift key on the keyboard. I did not find a way to > > implement this using lircrc and irxevent. > > Does the 'shift' key emit a code on its own, or does it change the > code for a particular key when it's pressed at the same time as a > normal 'shiftable' key? > > If pressing the shift key modifies a key's code, create additional > entries for such keys in lircd.conf, and then create entries for them > in .lircrc where required. I've used this technique when using a Sky > Navigator clamshell remote which has a concealed QWERTY keyboard > featuring shift keys. This allows for upper and lowercase letters and > other shifted characters as found on a conventional keyboard. > > If a key's irxevent action needs to include a modifier (e.g. Ctrl), > you can achieve this by including the modifier in the config line > (http://www.lirc.org/html/irxevent.html). > > Nick > > -- > Nick Morrott > > MythTV Official wiki: > http://mythtv.org/wiki/ > MythTV users list archive: > http://www.gossamer-threads.com/lists/mythtv/users > > "An investment in knowledge always pays the best interest." - Benjamin > Franklin > > ----------------------------------------------------------------------- > ------- > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity > professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com |