Questions tagged [logitech-gaming-software]
Logitech Gaming Software lets you customize Logitech G gaming mice, keyboards and headsets. This tag is pertinent to both old (LGS) and new (G HUB) Logitech software as they expose the same Lua API.
logitech-gaming-software
287
questions
0
votes
0
answers
28
views
Lua scripting being used in mouse macro. (logitech)
I have a Lua script for Logitech G Hub that moves my mouse for me. It's set to use MB4 for that. I want to remap MB5 to press shift, mb4. But when I have the script running and press MB5, it only ...
0
votes
0
answers
12
views
Ghub buggy on g600?
I recently discovered the world of lua and I'm testing simple macros to improve the language. When I discovered that GHUB uses lua to make scripts, I tried to do something simple to hold recoil in any ...
0
votes
1
answer
83
views
How to combine two logitech scripts?
Im trying to put the following 2 scripts together so that they can run at the same exact time.
function OnEvent(event, arg)
if EnableRCS ~= false then
if IsMouseButtonPressed(3) then -- ...
-1
votes
0
answers
19
views
how to solve GFSDK_SSAO_D3D11.win32.dll missing error?
I had above error while installing a pirate version of a game.I search for the GFSDK_SSAO_D3D11.win32.dll but I found only the 64bit version.Why was that and how can I fix this error
I tried the 64bit ...
0
votes
0
answers
36
views
logitech ghub can not run old script from LGS
I been using this script for LGS ( Logitech gaming software) and it was working well all the time. but then I have to replaced my old mouse g502 to G502x which only support by G HUB.
now when I run ...
0
votes
1
answer
43
views
holding shift to toggle the mouse buttons in lua?
I'm a completely noob at Lua. I've been playing around with it in g-hub for a Logitech mouse and I figured out how to make it notice if shift is held down while the script is run, but I'm pretty far ...
0
votes
1
answer
38
views
Check a physical state of a mouse button?
I'm currently using a workaround script for burst fire using the "p" key of the keyboard because I want to use the left mouse click to shoot in auto/burst mode, for this i call the action ...
0
votes
0
answers
82
views
lghub lua script presskey
I dont really know how to code lua, i made a script, when "Numlock" is on the script clicks "a" for a random time duration, then releases "a" and it presses "s" ...
0
votes
0
answers
87
views
LGHUB Lua script
I dont really know how to code Lua, I made a script, when "Numlock" is on the script clicks "a" for a random time duration, then releases "a" and it presses "s" ...
0
votes
0
answers
50
views
Immediately break the loop when condition is not met and go to next line
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
if IsKeyLockOn("numlock" )then
if IsMouseButtonPressed(3)then
repeat
if ...
0
votes
0
answers
67
views
How to make code work together ? lua script
How to make the code correctly, so that the recoil is canceled out, and the button is held down together with "q"?
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
if ...
0
votes
0
answers
66
views
Lua script code doesn't work on Battlefield1
Trying to use this simple recoil reducer lua script code. But in game, cursor doesn't move in x axis. It kinda stucks in y axis.
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
...
0
votes
0
answers
38
views
loop is not repeating and won't stop
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
if IsKeyLockOn("numlock" )then
if IsMouseButtonPressed(1) then
Sleep(50)
...
0
votes
0
answers
92
views
How can I detect if my GHUB profile is in G-Shift mode within a LUA script?
I have a LUA script on my profile, but I only want it to execute when the profile is G-shifted.
Is there some GHUB Lua api for detecting that? I don't see anything in the G_series_Lua_API.pdf
i.e.
if (...
0
votes
0
answers
182
views
Rapid fire script in lua language
I just want rapid fire script.
I want to fire with left click, but I only want it to work while holding down the right click button.
I want 125ms between each left click (firing)
It also requires some ...