From: Justin S. <jus...@gm...> - 2009-07-20 17:31:06
|
Hi Christoph, I have been thinking about this problem. What do you think about implementing a new keyword called mode-timeout in lircrcd, that would basically timeout a mode within the time limit in configuration file. The granularity of timeout should be in 100 milliseconds. Thanks, Justin On Wed, Jul 8, 2009 at 7:55 PM, Christoph Bartelmus<li...@ba...> wrote: > Hi! > > Justin Smith "jus...@gm..." wrote: >> I appreciate the response and help you have provided to me. That >> answers my question. >> >> I was not thinking about taking back an event, but rather sending a >> Bksp and second character. >> >> Do you know of any other lirc clients that could help me here? > > After a bit of more thinking I came up with this, which will work just > without the timeout feature: > > begin 1 > begin > prog = irexec > config = echo Bksp > button = KEY_1 > end > begin > prog = irexec > config = echo B > button = KEY_1 > flags = quit|mode > end > end 1 > > begin 2 > begin > prog = irexec > config = echo Bksp > button = KEY_2 > end > begin > prog = irexec > config = echo D > button = KEY_2 > flags = quit|mode > end > end 2 > > begin > prog = irexec > config = echo A > button = KEY_1 > mode = 1 > end > > begin > prog = irexec > config = echo C > button = KEY_2 > mode = 2 > end > > Christoph > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > |