Basically I'm trying to change two buttons behavior.
For hidmacros it was like this :
Code: Select all
<Macros>
<Macro>
<Device>Keyb10</Device>
<Name>New Macro2</Name>
<KeyCode>45</KeyCode>
<Direction>down</Direction>
<Action>SEQ</Action>
<Sequence>{END}</Sequence>
<SCEvent></SCEvent>
<XPLCommand></XPLCommand>
<ScriptSource></ScriptSource>
<SCText>0</SCText>
<SCParams></SCParams>
<Command></Command>
</Macro>
<Macro>
<Device>Keyb10</Device>
<Name>New Macro3</Name>
<KeyCode>35</KeyCode>
<Direction>down</Direction>
<Action>SEQ</Action>
<Sequence>{INS}</Sequence>
<SCEvent></SCEvent>
<XPLCommand></XPLCommand>
<ScriptSource></ScriptSource>
<SCText>0</SCText>
<SCParams></SCParams>
<Command></Command>
</Macro>
</Macros>
1) How to send keycode and not chars using luamacros
2) How to send original button keycode unless it hooked using luamacros?
thanks in advance for answers.