These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Logitech g510 Script

Author
liaana Dallocort
The Scope
Gallente Federation
#1 - 2014-09-04 23:30:42 UTC
I know alot has been said about keyboard scripts in eve.
I am working on one that allows g1-3 to be remapped to align, warp to, and dock
and then show on the LCD panel what is going on.

I do not think it is doing anything wrong since it is 1 push for 1 event


function OnEvent(event, arg)
--OutputLogMessage("event = %s, arg = %s\n", event, arg);
mkey = GetMKeyState();
if (event == "G_RELEASED" and arg == 1 and mkey == 3) then
-- Pressed G1 key while M3 is active press and release A - Align to target
PressAndReleaseKey("a");
Sleep(5);
ClearLCD();
OutputLCDMessage("Aligning to Target",2000);
end
if (event == "G_RELEASED" and arg == 2 and mkey == 3) then
-- Pressed G1 key while M3 is active press and release S - Warp to 0
PressAndReleaseKey("s");
Sleep(5);
ClearLCD();
OutputLCDMessage("Warping to 0 Target",2000);
end
if (event == "G_RELEASED" and arg == 3 and mkey == 3) then
-- Pressed G1 key while M3 is active press and release D - Jump or Dock
PressAndReleaseKey("d");
Sleep(5);
ClearLCD();
OutputLCDMessage("Jumping / Docking",2000);
end
if (event == "G_RELEASED" and arg == 4 and mkey == 3) then
-- Pressed G1 key while M3 is active press and release D - Jump or Dock
--PressAndReleaseKey("D");
--Sleep(5);
ClearLCD();
OutputLCDMessage("TESTING",2000);
end
end
----------------------------------------------------------------------------------------------------------------------------------------------
Shiva Darksun
Viziam
Amarr Empire
#2 - 2014-11-07 15:43:33 UTC
Looks interesting... where do I paste this? I have the software but I don't see a place where I could paste this script. Yeah, I'm an idiot :)
Shiva Darksun
Viziam
Amarr Empire
#3 - 2014-11-07 23:00:31 UTC
Tested the script and it works very well. I modified it a bit so that M1 is used instead of M3 but otherwise all's good.
Thanks!