Page 4 of 15
Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Thu Apr 03, 2014 4:17 pm
by sectroyer
You don't need &:)
Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Thu Apr 03, 2014 4:41 pm
by zoelechat
Ok, works as expected without &. Except that I notice no difference

Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 12:14 pm
by juusso
Reporting: works on D series arm.

Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 6:51 pm
by fluffi444
Could one of you advise me what shoud or could be inside of the sequenze file?
Any specific format needed?
Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 6:56 pm
by sectroyer
fluffi444 wrote:Could one of you advise me what shoud or could be inside of the sequenze file?
Any specific format needed?
I have no idea what are you asking about

Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 7:00 pm
by fluffi444

Zoel, for instance uses samyGOrc_test
/mnt/opt/privateer/usr/patch/samyGOrc_test
Code: Select all
[RCremap] mapping key: 'KEY_TOPMENU' to command: '/mnt/opt/privateer/usr/patch/samyGOrc_test'
I thought that inside of samyGOrc_test must be specific keys...
maybe I understand this completly wrong

Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 7:02 pm
by sectroyer
fluffi444 wrote:
Zoel, for instance uses samyGOrc_test
/mnt/opt/privateer/usr/patch/samyGOrc_test
Code: Select all
[RCremap] mapping key: 'KEY_TOPMENU' to command: '/mnt/opt/privateer/usr/patch/samyGOrc_test'
I thought that inside of samyGOrc_test must be specific keys...
maybe I understand this completely wrong

Yes you "understand this completely wrong"

The app just runs a command (for Zoel it's ''/mnt/opt/privateer/usr/patch/samyGOrc_test'). The App doesn't care what this command points to. It may be another patch, some app, script, etc.

Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 7:05 pm
by fluffi444
OK - got it! Its friday and the week was hard at work

THX!!!!
Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 7:57 pm
by zoelechat
@fluffi
It is not explicitly written anywhere in thread so don't forget to set 'CMD:' before command to launch.
e.g. remapping in libRCremap.config have to look like this:
Code: Select all
...
{
"KEY_DTV_SIGNAL": "CMD:/mnt/opt/privateer/usr/patch/samyGOrc_airsat"
},
...
Here's also a sample script "samyGOrc_airsat", the one I use to switch from air to sat
(since KEY_DOWN is used to switch source, it really works only with 2 sources, else it goes to next one
). Script have to be in the same folder as samyGOrc itself (chmod +x both

):
Code: Select all
#!/bin/sh
[ $(pidof ${0##*/}) ] 2>/dev/null || exit 0
PATCHDIR=${0%/*}
PID_EXE=$(pidof exeTV || pidof exeDSP)
$PATCHDIR/samyGOrc -p $PID_EXE 107 108 # CH_LIST, RED
sleep 1
$PATCHDIR/samyGOrc -p $PID_EXE 97 104 # DOWN, ENTER
sleep 3
$PATCHDIR/samyGOrc -p $PID_EXE 45 45 # EXIT, EXIT
Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 8:15 pm
by fluffi444
Thx Zoel... I understand now completely..
Main question was how a script must look like to "push" some specific keys virtually
Thx for that...