Search found 703 matches

by admin
08 Jun 2021, 07:31
Forum: HOW-TOs and documentation
Topic: Numeric Pad's ENTER key ?
Replies: 8
Views: 5322

Re: Numeric Pad's ENTER key ?

The answer is already here above, but you need to know lua to use luamacros.
by admin
08 Jun 2021, 07:29
Forum: General
Topic: Fn key support ?
Replies: 1
Views: 39

Re: Fn key support ?

I don't think it's possible. The Fn is more on hardware level to add some extra function to the key
by admin
07 Jun 2021, 08:11
Forum: Support - bugs
Topic: HID Macros not working when in Game
Replies: 1
Views: 46

Re: HID Macros not working when in Game

Your game is probably reading the keyboard "directly", at low level. Hidmacros can't block such direct access
by admin
26 Apr 2021, 08:12
Forum: General
Topic: 2 separate script of Lua Macros
Replies: 1
Views: 759

Re: 2 separate script of Lua Macros

You can hook as many keyboards as you want in 1 script. Just call lmc_set_handler with different keyboard id - see e.g. https://github.com/me2d13/luamacros/blo ... c.lua#L244
by admin
20 Apr 2021, 07:48
Forum: General
Topic: LuaMacro blocking numpad for normal use
Replies: 2
Views: 350

Re: LuaMacro blocking numpad for normal use

With lmc_set_handler used with 2 arguments you're assigning callback function for whole device - so all keys will be blocked. And your script is handling only the case with numlock off. If you need to script only individual keys, add key number as agrument to lmc_set_handler. See https://github.com/...
by admin
19 Apr 2021, 07:55
Forum: Support - bugs
Topic: compilation of LuaMacros
Replies: 2
Views: 365

Re: compilation of LuaMacros

Did you follow https://github.com/me2d13/luamacros/blo ... evGuide.md?
What's your free pascal version, 32 or 64 bit?
Also you may try the most recent branch which was FSXX poc, it's for 64bit FPC compiler https://github.com/me2d13/luamacros/tree/64bit
by admin
22 Mar 2021, 08:33
Forum: General
Topic: Handle input from keyboard without blocking events
Replies: 3
Views: 555

Re: Handle input from keyboard without blocking events

No, there's even code in LuaMacros forcing one instance only. The software uses some dirty hacks to block original key in active application and this is done via global shared memory between active application and luamacros. Having 2 instances would clash with this shared memory even if one of them ...
by admin
19 Mar 2021, 08:59
Forum: General
Topic: Handle input from keyboard without blocking events
Replies: 3
Views: 555

Re: Handle input from keyboard without blocking events

Try to run with -k parameter.
I don't remember exactly - it even does what you need (stop blocking original key) or it doesn't read keyboard completely (so it can't be used as macro trigger)
by admin
03 Mar 2021, 09:01
Forum: General
Topic: Shift Makro doesn't work
Replies: 4
Views: 687

Re: Shift Makro doesn't work

In Hidmacros? You can't send just shift key. In luamacros you should be able using lmc_send_input