LinHES Forums http://forum.linhes.org/ |
|
Setup for a saa7134 remote http://forum.linhes.org/viewtopic.php?f=2&t=11791 |
Page 1 of 1 |
Author: | dwaine [ Sat Sep 23, 2006 10:48 pm ] |
Post subject: | Setup for a saa7134 remote |
I have the kworld atsc110 tuner card. I have hack a patch for the remote control to work. I have a question about the v4l remote control for saa7134 cards. How do I know what value the volume up and down keys are. Here is the mapping IR_KEYTAB_TYPE ir_codes_kworld_atsc110[IR_KEYTAB_SIZE] = { + [ 0x0 ] = KEY_1, + [ 0x1 ] = KEY_2, + [ 0x2 ] = KEY_3, + [ 0x3 ] = KEY_4, + [ 0x4 ] = KEY_5, + [ 0x5 ] = KEY_6, + [ 0x6 ] = KEY_7, + [ 0x7 ] = KEY_8, + [ 0x8 ] = KEY_9, + [ 0xa ] = KEY_0, + [ 0x9 ] = KEY_ESC, /* UP ARROW */ + [ 0xc ] = KEY_POWER, /* POWER */ + [ 0x0a ] = KEY_MUTE, /* MUTE */ + [ 0x0d ] = KEY_EPG, /* GUIDE */ + [ 0x1b ] = KEY_RECORD, /* RECORD */ + [ 0x16 ] = KEY_PAUSE, /* PAUSE */ + [ 0x1a ] = KEY_STOP, /* STOP */ + [ 0x1d ] = KEY_VOLUMEDOWN, /* VOLUME- */ + [ 0x1c ] = KEY_VOLUMEUP, /* VOLUME+ */ + [ 0x1f ] = KEY_CHANNELDOWN, /* CHANNEL/PAGE- */ + [ 0x1e ] = KEY_CHANNELUP, /* CHANNEL/PAGE+ */ + [ 0x10 ] = KEY_UP, /* KEY_SCROLLUP */ + [ 0x12 ] = KEY_LEFT, /* KEY_BACK */ + [ 0xe ] = KEY_ENTER, /* KEY_ENTER */ + [ 0x13 ] = KEY_RIGHT, /* KEY_FORWARD */ + [ 0x11 ] = KEY_DOWN, /* KEY_SCROLLDOWN */ + [ 0x14 ] = KEY_MUTE, /* MUTE */ + [ 0x15 ] = KEY_AUDIO, /* STEREO */ + [ 0x16 ] = KEY_VIDEO, /* SOURCE */ + [ 0x17 ] = KEY_ZOOM, /* ZOOM */ + [ 0x18 ] = KEY_PRINT, /* SHUTDOWN */ + [ 0X19 ] = KEY_T, /* TIMESHIFT */ + [ 0x44 ] = KEY_PLAYPAUSE, /* PAUSE/PLAY */ + [ 0x45 ] = KEY_STOP, /* STOP */ + [ 0x40 ] = KEY_REWIND, /* REWIND */ + [ 0x41 ] = KEY_FORWARD, /* FASTFORWARD */ + [ 0x42 ] = KEY_PREVIOUSSONG, /* PREVIOUS */ + [ 0x43 ] = KEY_NEXTSONG, /* NEXT */ + + // buttons a-h + [ 0x48 ] = KEY_A, + [ 0x49 ] = KEY_B, + [ 0x4a ] = KEY_C, + [ 0x4b ] = KEY_D, + [ 0x4c ] = KEY_E, + [ 0x4d ] = KEY_F, + [ 0x4e ] = KEY_G, + [ 0x4f ] = KEY_H +}; The arrow keys work fine on the remote. But channels/volume and special keys do not. So how do I setup mythtv to use these keys, if I have no clue what there value is? What is the keyboard key for VolumeUp or VolumeDown? Dwaine |
Author: | bouncey [ Thu Dec 07, 2006 9:01 am ] |
Post subject: | Re: Setup for a saa7134 remote |
dwaine wrote: I have the kworld atsc110 tuner card. I have hack a patch for the remote control to work.
I'm not even that far. I got my atsc110 yesterday. The tuner seems to be alive (but no channels until I find an antenna), but I don't know how to set up the remote control. How do I get started? |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |