logitech-gaming-software

Rapid fire with logitech lua script?

为君一笑 提交于 2021-02-19 07:42:13
问题 When writing lua scripts for my logitech g502, I've gotten rapid fire to work, but it will continue to execute mouse presses after the mouse one button is released as long as the ctrl key is held. I am wondering if there is any kind of iteration that would allow me to signal a function that presses and releases the mouse but under the conditional that the same mouse button is pressed.(For example, ctrl must be held and rapid fire only executes when mouse button 1 is held down, as opposed to

Rapid fire with logitech lua script?

泄露秘密 提交于 2021-02-19 07:42:07
问题 When writing lua scripts for my logitech g502, I've gotten rapid fire to work, but it will continue to execute mouse presses after the mouse one button is released as long as the ctrl key is held. I am wondering if there is any kind of iteration that would allow me to signal a function that presses and releases the mouse but under the conditional that the same mouse button is pressed.(For example, ctrl must be held and rapid fire only executes when mouse button 1 is held down, as opposed to

Logitech's LED Illumination SDK is not working with my G502

a 夏天 提交于 2021-02-10 05:06:45
问题 I'm trying to get Logitech's own LED SDK working with my G502, but I can't. I'm using SDK version 8.82.7, which is, as of now, the most recent version. I also couldn't find anything on SO or the rest of the internet, so I'm asking here. Here's my LogitechGSDK.cs: using System; using System.Collections; using System.Runtime.InteropServices; namespace LogiRGB { public enum KeyboardNames { ESC = 0x01, F1 = 0x3b, F2 = 0x3c, F3 = 0x3d, F4 = 0x3e, F5 = 0x3f, F6 = 0x40, F7 = 0x41, F8 = 0x42, F9 =

Logitech's LED Illumination SDK is not working with my G502

筅森魡賤 提交于 2021-02-10 05:06:21
问题 I'm trying to get Logitech's own LED SDK working with my G502, but I can't. I'm using SDK version 8.82.7, which is, as of now, the most recent version. I also couldn't find anything on SO or the rest of the internet, so I'm asking here. Here's my LogitechGSDK.cs: using System; using System.Collections; using System.Runtime.InteropServices; namespace LogiRGB { public enum KeyboardNames { ESC = 0x01, F1 = 0x3b, F2 = 0x3c, F3 = 0x3d, F4 = 0x3e, F5 = 0x3f, F6 = 0x40, F7 = 0x41, F8 = 0x42, F9 =

Logitech's LED Illumination SDK is not working with my G502

一笑奈何 提交于 2021-02-10 05:05:52
问题 I'm trying to get Logitech's own LED SDK working with my G502, but I can't. I'm using SDK version 8.82.7, which is, as of now, the most recent version. I also couldn't find anything on SO or the rest of the internet, so I'm asking here. Here's my LogitechGSDK.cs: using System; using System.Collections; using System.Runtime.InteropServices; namespace LogiRGB { public enum KeyboardNames { ESC = 0x01, F1 = 0x3b, F2 = 0x3c, F3 = 0x3d, F4 = 0x3e, F5 = 0x3f, F6 = 0x40, F7 = 0x41, F8 = 0x42, F9 =

Logitech Lua Sleep Behavior

▼魔方 西西 提交于 2021-01-29 17:14:39
问题 Since Egor always help, this is intended to show him the problem, but if you know how to solve, please help too! https://youtu.be/J2vRfnUplio <<< this is how the script should work. (look at the descripition for more info) https://youtu.be/HH_MmfXUdl8 <<< This is how it doing now, at windows newer versions. Having problems with Sleep() func on MouseMoveRelative on LUA ^^ This is the last question that shows the problem and you helped me there GHUB has the same version on both, so isnt GHUB

How i can merge this 2 different Lua script in ONE? it is for my logitech mouse and i am not able to combine this 2 toggle script

筅森魡賤 提交于 2021-01-29 09:10:31
问题 Hello I want to combine this 2 toggle script. It is for a game. I am not good at this script and I need help for merge scripts. I would like when I press G7 button the mouse pull down of x pixel when I press left button of mouse when I press g8 button the mouse pull down of y pixel when I press left mouse button. Script1 function OnEvent(event, arg) OutputLogMessage("event = %s, arg = %d\n", event, arg) if (event == "PROFILE_ACTIVATED") then EnablePrimaryMouseButtonEvents(true) elseif event =

Having problems with Sleep() func on MouseMoveRelative on LUA

主宰稳场 提交于 2021-01-29 07:13:04
问题 got a new drive and installed a fresh windows. Before on old OS, i could use "Sleep" to make "MoveMouseRelative" work like it was natural movement. i have created a function were i can move the mouse calling it with how many times i want it to "move" and with the milliseconds between each "move" Example:(works well) function _move(x, range, time, range2) for i = 1, x do MoveMouseRelative(range,range2) Sleep(time) end end n If i set "Sleep(1)" beteween each "MoveMouseRelative" it moves like it

After table.getn got deprected in Logitech 5.4 LUA this code doesn't seems to work anymore

自闭症网瘾萝莉.ら 提交于 2021-01-27 07:08:38
问题 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 anymore with this replacement, I have tried making some workaround the code but I'm not very familiar with programming, how could I fix this code for Logitech API? Could someone guide me? Sense = 1.4; --Rate of FIRE (in seconds) G36ROF = 10 --600RPM. HKROF = 11.1 --666RPM. ROF = {G36ROF, HK417ROF} -

math library is missing in the latest update of Logitech G-Hub

和自甴很熟 提交于 2021-01-13 09:14:19
问题 local delay = math.random(25, 50) [string "LuaVM"]:5: attempt to index a nil value (global 'math') I can't use math.random anymore is there any way to fix this ? 回答1: If math library is missed you can insert the following code block at the beginning of your script. It will not fix the whole math library, but only some of the most frequently used functions (including math.random ). It will also fix the following errors: bad argument #1 to 'Sleep' (number has no integer representation) attempt