Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Re: How to send alphabetic letters from IR remote number pad?

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


dave at altosdesign

Jul 8, 2010, 9:53 PM

Post #1 of 3 (311 views)
Permalink
Re: How to send alphabetic letters from IR remote number pad?

Hi Johnny

I think I confused you by not including my entire email thread in my last
reply.

I am only using irexec for test purposes so I don't have to launch and kill
the mythtv front end on each attempt. Once I get something that works, I
will change all the prog's back to mythtv.

I am trying to get the same remote key to send different "config" commands
depending on how may repeats it has, the same way alphabetic text messages
are sent on many cell phone numeric keyboards. I want pressing the "2" key
to send either "2", "a", "b", or "c" depending on how long it is held down
for.

I will try to find the post by Christoph Bartelmus that Jarod referred to.

Thanks...

Dave

-----Original Message-----
From: mythtv-users-bounces [at] mythtv
[mailto:mythtv-users-bounces [at] mythtv] On Behalf Of Johnny Walker
Sent: Thursday, July 08, 2010 12:00 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] How to send alphabetic letters from IR remote
number pad?

On Thu, Jul 8, 2010 at 11:39 AM, David Lasker <dave [at] altosdesign> wrote:
> Sorry Wayne, that doesn't work. Every 4th button press outputs a "c", but
I
> am unable to get "b", "a", or "0" to be output.
>
> Thanks...
>
> Dave
>
> -----Original Message-----
> Have you tried it like this instead?
>
> begin
> remote = Hauppauge_350
> prog = irexec
> button = 2
> button = 2
> button = 2
> button = 2
> config = c
> delay = 2
> flags = quit
> end
>
> begin
> remote = Hauppauge_350
> prog = irexec
> button = 2
> button = 2
> button = 2
> config = b
> delay = 2
> flags = quit
> end
>
> begin
> remote = Hauppauge_350
> prog = irexec
> button = 2
> button = 2
> config = a
> delay = 2
> flags = quit
> end
>
> begin
> remote = Hauppauge_350
> prog = irexec
> button = 2
> config = 2
> repeat = 0
> delay = 0
> end
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I'm not clear on why the stanza's would need to have repeat "button =
blah" statements in them.

As you want mythtv to take action on these commands you need not involve
irexec.

The following stanz tells my mythtv program to react as if it received
a '0' when I hit '0'.

begin
remote = Hauppauge_350
prog = mythtv
button = 0
config = 0
repeat = 0
delay = 0
end

To modify that so mythtv receives an 'A' instead would be as follows:

begin
remote = Hauppauge_350
prog = mythtv
button = 0
config = A
repeat = 0
delay = 0
end

Irexec is used to do other things outside of mythtv such as launch a
shell script.

Remember if you have 2 or more stanza's for any programs with a
'button=0' then each instance of them will be processed anytime you
hit 0.

-JohnnyJ
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


dave at altosdesign

Jul 9, 2010, 1:42 PM

Post #2 of 3 (284 views)
Permalink
Re: How to send alphabetic letters from IR remote number pad? [In reply to]

I keep forgetting that Google doesn't index sourceforge mailing list
archives. Searching the lirc list archives directly came up with this
thread:

http://sourceforge.net/mailarchive/message.php?msg_id=edc06e0a0906301109r16a
c31aalb4c3913ac53dbfd0%40mail.gmail.com

It suggests sending backspace characters on multiple key presses to delete
the previous entries.

The problem with Christoph's approach is that there is no timeout. So if you
press the 2 key once, and then a 2nd time a minute later, you get
2-backspace-a instead of 2 2.

It still bothers me that I can't get the repeat or delay parameters to do
what I expect. So I am giving up on this for now.

The mythtv virtual keyboard is pretty cool so I can live without this
feature.

Thanks...

Dave

-----Original Message-----
From: mythtv-users-bounces [at] mythtv
[mailto:mythtv-users-bounces [at] mythtv] On Behalf Of Jarod Wilson
Sent: Thursday, July 08, 2010 12:52 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] How to send alphabetic letters from IR remote
number pad?

On Wed, Jul 7, 2010 at 4:54 PM, David Lasker <dave [at] altosdesign> wrote:
> I can't believe I am the first person to try to do this, but my Googling
for
> help came up empty. I posted this question on the lirc mailing list, and
got
> no reply. So I hope someone here has more insight into my question:
>
> I would like to use the number keys on my IR remote to send mythtv
> alphabetic characters, using the same user interface as is implemented on
> many cell phones and A/V equipment. For example:
>
> - Pressing the 2 key briefly sends "2"
> - Holding the 2 key for 2 repeats sends "a"
> - Holding the 2 key for 3 repeats sends "b"
> - Holding the 2 key for 4 repeats sends "c"
> - Pressing the 3 key briefly sends "3"
> - Holding the 3 key for 2 repeats sends "d"
> - etc.

I'm almost positive Christoph Bartelmus has posted an example config
for how to do this on the lirc list at some point in the past, but
you'd have to search the list archives...

--
Jarod Wilson
jarod [at] wilsonet
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


davebrown099 at gmail

Jul 10, 2010, 2:32 AM

Post #3 of 3 (271 views)
Permalink
Re: How to send alphabetic letters from IR remote number pad? [In reply to]

From googling, the option to use sms cell phone style text entry aswell as
the popup virtual keyboard was available in earlier versions of myth. I
dont know why it was removed as there are less key presses than navigating
around the virtual keyboard when using say mythnetvision to search for
videos. They have this option in xbmc and other media centres.


On Fri, Jul 9, 2010 at 9:42 PM, David Lasker <dave [at] altosdesign> wrote:

> I keep forgetting that Google doesn't index sourceforge mailing list
> archives. Searching the lirc list archives directly came up with this
> thread:
>
>
> http://sourceforge.net/mailarchive/message.php?msg_id=edc06e0a0906301109r16a
> c31aalb4c3913ac53dbfd0%40mail.gmail.com
>
> It suggests sending backspace characters on multiple key presses to delete
> the previous entries.
>
> The problem with Christoph's approach is that there is no timeout. So if
> you
> press the 2 key once, and then a 2nd time a minute later, you get
> 2-backspace-a instead of 2 2.
>
> It still bothers me that I can't get the repeat or delay parameters to do
> what I expect. So I am giving up on this for now.
>
> The mythtv virtual keyboard is pretty cool so I can live without this
> feature.
>
> Thanks...
>
> Dave
>
> -----Original Message-----
> From: mythtv-users-bounces [at] mythtv
> [mailto:mythtv-users-bounces [at] mythtv] On Behalf Of Jarod Wilson
> Sent: Thursday, July 08, 2010 12:52 PM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] How to send alphabetic letters from IR remote
> number pad?
>
> On Wed, Jul 7, 2010 at 4:54 PM, David Lasker <dave [at] altosdesign> wrote:
> > I can't believe I am the first person to try to do this, but my Googling
> for
> > help came up empty. I posted this question on the lirc mailing list, and
> got
> > no reply. So I hope someone here has more insight into my question:
> >
> > I would like to use the number keys on my IR remote to send mythtv
> > alphabetic characters, using the same user interface as is implemented on
> > many cell phones and A/V equipment. For example:
> >
> > - Pressing the 2 key briefly sends "2"
> > - Holding the 2 key for 2 repeats sends "a"
> > - Holding the 2 key for 3 repeats sends "b"
> > - Holding the 2 key for 4 repeats sends "c"
> > - Pressing the 3 key briefly sends "3"
> > - Holding the 3 key for 2 repeats sends "d"
> > - etc.
>
> I'm almost positive Christoph Bartelmus has posted an example config
> for how to do this on the lirc list at some point in the past, but
> you'd have to search the list archives...
>
> --
> Jarod Wilson
> jarod [at] wilsonet
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.