All Questions
Tagged with logitech-gaming-software scripting
16 questions
0
votes
0
answers
111
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
861
views
How to create a Logitech script to simulate rapid key presses when a specific key is held down?
I am working on a Logitech scripting project in Lua, where I need to achieve the following behavior:
When I hold down the left arrow, right arrow, up arrow, or down arrow key on a non-Logitech ...
0
votes
1
answer
57
views
KB Pressing While Mousebuton is Pressed
I want to create a script that presses 1 then 2 then 3 while LCTRL and RMB is pressed.
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
if IsModifierPressed("lctrl") ...
0
votes
1
answer
382
views
How to make two functions work separately and together in luascript? -software logitech GHUB
I want this code to work together and separately when scrolllock is enabled. One using the mouse button(3) and the other the mouse button(2). Working separately they are working, however when I ...
0
votes
0
answers
868
views
Logitech Lua Script randomized button press in repeat loop on random sleep timers
first time i try to code sth for me so....... Here i got a script that repeats (on mouse button 5 press) pushing multiple buttons with random sleep timers each after one another, checking after each ...
1
vote
1
answer
2k
views
Logitech Lua help needed
software = Logitech G hub
UPDATE
Okay! Thanks to some help this is where I'm at, Everything's working very nicely and as it should but now I face a new task and that is adding variations of each table ...
0
votes
1
answer
399
views
How can I make this Lua script more reliable?
So I've been trying to make my Lua scripts in LogitechGHUB better so that they don't skip a few shots or stop working all of a sudden for a couple of seconds, originally I made this code but no matter ...
0
votes
1
answer
11k
views
LUA scripting no recoil
I have this code and I want the repeat loop to get activated after the Right click is pressed for more than .1 seconds otherwise not to get activated OR the loop to stop entirely once I release the ...
-1
votes
2
answers
1k
views
Is it possible to keep the mouse button 2,3,4,5 pressed without holding down the button?
I would like to make a Logitech Lua script where it continuously holds down the mouse buttons for example mouse button 5 without holding it, just have the mouse button turned on until i release it by ...
0
votes
1
answer
8k
views
Logitech G502 Hero Scripting
I am trying to archive No Recoil in Pubg Mobile Emulator game via G Hub(Logitech App) mouse script... When I press fire button, it should keep on firing and keep my aim down. I wrote some code to aim ...
0
votes
1
answer
881
views
Logitech LUA script adding sleep timer
Was wondering how to add the sleep timer to my LUA script so it doesn't continually loop as fast as possible and press 0x29, I'd like to make it so when buttons 1 and 3 are pressed on my mouse it ...
5
votes
1
answer
536
views
After table.getn got deprected in Logitech 5.4 LUA this code doesn't seems to work anymore
After Logitech API got updated for the 5.4 Lua version, table.getn got deprected and some guys that helped me said I could update the code with # but the logic of the code doesn't seems to work ...
0
votes
2
answers
2k
views
LUA script on gaming mouse doesnt work in Origin software
Even though my Lua scripts for my gaming mouse Logitech G502 Hero work fine in Windows desktop, or every application or game I tries, they dont work on Battlefield and the Origin app.
Custom macros ...
-1
votes
1
answer
12k
views
How can I make this no recoil script do an additional movement of my mouse?
Im brand new at scripting and have no idea what im doing. Found the below code online and want it to make adjustments. So basically, in fallout 4 lets say a gun's recoil goes to up and to the left ...
1
vote
1
answer
11k
views
How to use logitech lua scripting
I'm trying to have two inputs that will lead to one output. This is so I can use an ability in a game thanks if you can help.
function OnEvent(event, arg)
if event == "MOUSE_BUTTON_PRESSED&...
2
votes
1
answer
12k
views
Logitech Script, Press and hold key until releas
Is it possible to make Logitech scripts targets letters?
For example > F
Using mouse button 5 if I wanted this logitech script to press hold F key until release of mouse button 5 how would I do that?...