Search found 735 matches

by admin
15 Jul 2021, 07:45
Forum: General
Topic: <NULL> in serial command
Replies: 4
Views: 5168

Re: <NULL> in serial command

The serial library probably internally uses null terminated strings so taking your first 0 as end of the string.
I'll try to check, maybe I could add function to send single byte...
by admin
24 Jun 2021, 07:43
Forum: General
Topic: Is there a way to disable HID Macros from "listening" to a specific device?
Replies: 2
Views: 4051

Re: Is there a way to disable HID Macros from "listening" to a specific device?

No code change can be done by Hidmacros anymore - or no code change by me. Sorry.
by admin
08 Jun 2021, 07:31
Forum: HOW-TOs and documentation
Topic: Numeric Pad's ENTER key ?
Replies: 9
Views: 15977

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: 2600

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: 3
Views: 7356

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: 3651

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: 3
Views: 5145

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: 4362

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: 4334

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: 4334

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)