Page 5 of 15
Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 8:18 pm
by zoelechat
fluffi444 wrote:Main question was how a script must look like to "push" some specific keys virtually

I've added a working script to my previous post

Re: [APP] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Fri Apr 04, 2014 9:22 pm
by fluffi444
zoelechat wrote:I've added a working script to my previous post

Yeb saw it - thx for that - only wanted to mention it again...
Works already here with my favorite key combination...
Re: [App] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Tue Dec 30, 2014 6:02 pm
by mihd
What is the "lib_test.so" in samyGOso.zip?
Surprise is the CMD and the ability of macros?
Re: [App] SamyGO RCremap for C/D(arm)/E/F with CMD support
Posted: Tue Dec 30, 2014 6:34 pm
by zoelechat
mihd wrote:What is the "lib_test.so" in samyGOso.zip?
A test lib

, no need to take care of.
mihd wrote:Surprise is the CMD and the ability of macros?
Yep.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Fri Feb 06, 2015 6:01 pm
by zoelechat
For those who never understood patch usage, first post updated!

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Mon Apr 06, 2015 1:36 pm
by zoelechat
Moved out of donor's area, enjoy!
Can be useful with e.g.:
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Mon Apr 06, 2015 9:51 pm
by tempinbox
Tried it on my C series.
Injection is done but the key aren't remap.
Code: Select all
[RCremap] SamyGO RCremap v0.3.5 log - (c) bugficks 2013, small fixes by sectroyer 2014
[RCremap] mapping key: 'KEY_MTS' to 'KEY_RSS'
[RCremap] skipping invalid new key: 'KEY_FACTORY'
[RCremap] mapping key: 'KEY_YELLOW' to 'KEY_3SPEED'
[RCremap] mapping key: 'KEY_CYAN' to 'KEY_SERVICE'
[RCremap] mapping key: 'KEY_1' to command: 'touch /tmp/test.txt'
[RCremap] mapping key: 'KEY_2' to command: 'rm /tmp/test.txt'
[RCremap] Trying to get _ZN9KeyCommon17SendKeyPressInputEiis on C.
[RCremap] Found _ZN9TDBuilder8GetTDiCPE16TDSourceObject_k location at: 0x002dd098
[RCremap] Found _fini location at: 0x01aa45e8
[RCremap] text range: @0x0025d098 -> @0x0020d098
[RCremap] rodata range: @0x01aa45e8 -> @0x0a2a45e8
[RCremap] Found SendKeyPressInput at @0x002450a4
[RCremap] SendKeyPressInput address: 0x002450a4
[RCremap] _ZN9KeyCommon17SendKeyPressInputEiis address: 0x00244f68
[RCremap] 1 _ZN9KeyCommon17SendKeyPressInputEiis [0x244f68].
[RCremap] init done...
>>> lib_deinit
If you see this message you forget to specify -r when invoking samyGOso :)
<<< lib_deinit
my rcconifg
Code: Select all
{
"KEY_MTS": "KEY_RSS"
},
{
"KEY_GREEN": "KEY_FACTORY"
},
{
"KEY_YELLOW": "KEY_3SPEED"
},
{
"KEY_CYAN": "KEY_SERVICE"
},
{
"KEY_1": "CMD:touch /tmp/test.txt"
},
{
"KEY_2": "CMD:rm /tmp/test.txt"
}
]
why KEY_FACTORY is an invalid key?
and why it doesn't work? it say is supported on c series. am i missing somethings?
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Mon Apr 06, 2015 10:05 pm
by zoelechat
tempinbox wrote:Code: Select all
If you see this message you forget to specify -r when invoking samyGOso :)
Typo in first post, -r switch was missing in commandline. Fixed.
tempinbox wrote:why KEY_FACTORY is an invalid key?
To protect the innocent

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Mon Apr 06, 2015 10:30 pm
by tempinbox
zoelechat wrote:tempinbox wrote:Code: Select all
If you see this message you forget to specify -r when invoking samyGOso :)
Typo in first post, -r switch was missing in commandline. Fixed.
tempinbox wrote:why KEY_FACTORY is an invalid key?
To protect the innocent

But what if i'm guilty?

I want to remap key-yellow to key_factory
but key factory is need.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Mon Apr 06, 2015 10:48 pm
by sectroyer
tempinbox wrote:
But what if i'm guilty?

I want to remap key-yellow to key_factory
but key factory is need.
You think you need this key on your remote and this means that you didn't click the link in my description and/or didn't read the instructions carefully enough. In other words you are "guilty" of thinking you actually need it
