LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-15-2008, 08:13 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
lirc: can we press two keys at the same time ?


Hello,

my remote control hasnt enough keys, hence, can we set the .lircrc so that we can press two keys at the same time ?
 
Old 02-16-2008, 09:51 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
I don't know what your remote control would do if you pressed two keys at the same time. But I do know that it can't send the two IR signals at the same time. I also know that if something could send two IR signals at the same time, then lirc couldn't make any sense of the result (nor could any other IR receiver system).

So "set the .lircrc so that we can press two keys at the same time" is pretty much a meaningless request.

Some remote controls can do something useful as a result of pressing two keys at the same time, but it isn't a common feature. That useful behavior might be sending a third signal different from either of the original two. In that case lirc would just think it was a different key and would have no reason to know you generated that signal by pressing two keys together.

A remote could respond to your pressing two keys together by sending the two signals a tenth of a second apart (most remotes don't respond that way, but some do). Then you would want some special configuration of lirc. I don't know lirc well enough to tell you how. But if your remote does send the two signals a tenth of a second apart, you could rephrase your lirc question to get some lirc expert to tell you how to make lirc respond properly (how to do a different action when two signals come in just a tenth of a second apart than the actions it would do for either of those signals if they came in alone).

Last edited by johnsfine; 02-16-2008 at 09:55 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to press Alt + F1 keys programmatically in Linux dipk_23 Programming 4 05-10-2007 01:01 AM
keyboard issue - have to double press some keys whysyn Linux - Hardware 9 10-31-2005 08:25 AM
Keyboard Problem - I have to press a key twice for certain keys daedius Linux - Hardware 4 01-13-2005 06:32 AM
Can Only Press 3 or 4 Keys At Once While Gaming soroh Linux - Hardware 3 07-14-2004 02:33 AM
Beep when I press keyborad keys.. ! xconspirisist Fedora 1 01-30-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration