I've added a working script to my previous postfluffi444 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 postfluffi444 wrote:Main question was how a script must look like to "push" some specific keys virtually
Yeb saw it - thx for that - only wanted to mention it again...zoelechat wrote:I've added a working script to my previous post
A test libmihd wrote:What is the "lib_test.so" in samyGOso.zip?
Yep.mihd wrote:Surprise is the CMD and the ability of macros?
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
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"
}
]
Typo in first post, -r switch was missing in commandline. Fixed.tempinbox wrote:Code: Select all
If you see this message you forget to specify -r when invoking samyGOso :)
To protect the innocenttempinbox wrote:why KEY_FACTORY is an invalid key?
But what if i'm guilty?zoelechat wrote:Typo in first post, -r switch was missing in commandline. Fixed.tempinbox wrote:Code: Select all
If you see this message you forget to specify -r when invoking samyGOso :)
To protect the innocenttempinbox wrote:why KEY_FACTORY is an invalid key?
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 ittempinbox wrote: But what if i'm guilty?
I want to remap key-yellow to key_factory
but key factory is need.