|
|
|
One For All & Radio Shack Forum - View Post
|
|
|
|
|
|
|
The following page was printed from RemoteCentral.com:
Call me backwards... need default key...
| |
|
Topic: | Call me backwards... need default key mappings for RS15-2116 This thread has 5 replies. Displaying all posts. |
|
Post 1 made on Friday October 15, 2004 at 20:26 |
mossholderm Lurking Member |
Joined: Posts: | October 2004 3 |
|
|
Hey, I'm probably in exactly the opposite situation of most people that are posting to this forum. I have no interest in changing the settings on my remote.
OK, so I lied a little. I do have an interest. BUT, not for the application I have in mind. Basically, I would like to know what the default keymapping is for the VCR 0081 device type on the RS15-2116. I plan on taking this, and map the key presses to appropriate functions in software on a homebrew PVR device (MythTV).
Any ideas on how I can get this information?
Thanks! --Matt
|
|
Post 2 made on Friday October 15, 2004 at 22:19 |
The Robman Loyal Member |
Joined: Posts: | August 2001 6,218 |
|
|
What format do you want the answer in? Do you want the hex codes assigned to each button, the OBC code or the EFC code, or some other variation?
|
|
|
OP | Post 3 made on Saturday October 16, 2004 at 12:30 |
mossholderm Lurking Member |
Joined: Posts: | October 2004 3 |
|
|
OBC would probably be best, but I'd be happy with whatever is handy. I'm willing to do whatever legwork is needed :)
--Matt
|
|
Post 4 made on Saturday October 16, 2004 at 13:04 |
The Robman Loyal Member |
Joined: Posts: | August 2001 6,218 |
|
|
I can supply the info in whatever format you need it. So how about I re-phrase the question, what format does MythTV need?
|
|
|
OP | Post 5 made on Saturday October 16, 2004 at 13:31 |
mossholderm Lurking Member |
Joined: Posts: | October 2004 3 |
|
|
Rob, It's actually not very straight forward. There are actually several translations that occur. The sequence of events goes something like this:
1) User presses key on remote
2) IR Signal received by Hauppauge WinTV PVR350 card, which uses RC5 signalling
3) A scancode is sent from the card to the Linux Input layer. This has key remapping capability, which I am trying to make use of to simplify the use of this remote by MythTV and/or Linux users. Basically, I can just provide a file that says "This scancode in maps to this key", with they keys being things like KEY_FFWD. Linux has definitions for just about any type of multimedia key you can thing of, so the mapping is pretty simple.
4) The "key press" is picked up by a program called lircd, which is the Linux IR daemon. This also has the capability to remap keys, and more importantly, remap keys based upon the active application. So, I could take a Linux Input layer keypress like KEY_FFWD, and map that to "Left Arrow" in the media player, for example.
The part I am trying to address is the step 3... I need to figure out how the Linux Input layer is dealing with the input from the remote, so that I can properly remap to the appropriate keys. So what I need is something on the order of "This key on the remote sends the RC5 code for this key/function".
Several of them are easy to guess. I was just hoping for something that would provide me with the default layout of the functions.
Thanks!
--Matt
|
|
Post 6 made on Sunday October 17, 2004 at 12:23 |
The Robman Loyal Member |
Joined: Posts: | August 2001 6,218 |
|
|
O-ha, you picked VCR/0081 because it's an RC-5 code (with device code 5, in case you're interested). Here are the buttons and their associated RC-5 command code... 00 number 0 01 number 1 02 number 2 03 number 3 04 number 4 05 number 5 06 number 6 07 number 7 08 number 8 09 number 9 11 SELECT 12 POWER 13 MUTE 16 Vol UP 17 Vol DOWN 29 GUIDE 29 MENU 32 Arrow UP 32 Channel UP 33 Arrow DOWN 33 Channel DOWN 41 PAUSE 49 EXIT 50 REW 52 FFWD 53 PLAY 54 STOP[EJECT] 55 REC 59 LAST 62 TV/VIDEO[A/B] 85 Arrow LEFT 86 Arrow RIGHT If you'd like to program any un-programmed buttons to use un-accounted for command codes, the list below gives you the 3-digit advanced codes that you would need to use to re-program the buttons: 10 108 14 236 15 012 18 111 19 143 20 047 21 079 22 239 23 015 24 174 25 206 26 110 27 142 28 046 30 238 31 014 If you need instructions on how to program these advanced codes, read this... [Link: hifi-remote.com]
|
|
|
|
Before you can reply to a message... |
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now. |
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.
|
|
|
|