Zdravim. Vedel by mi niekto pomoct s pluginom pre Logitech G19 resp. so scriptom? Jedna sa o to, ze klavesnica bude blikat v rytme hudby. Nasiel som aj script aj videjko aj navod ako to spravit a nedari sa mi to nijako rozbehat... Skusal to uz niekto?
Videjko Lgtch G19 Disco Light mod
Navod
Citácia:
function OnEvent(event, arg)
if (event == "PROFILE_ACTIVATED") then
r1, g1, b1 = 0, 0, 0
color( 0, 255, 255, 25)
end
if (event == "M_PRESSED" and arg == 1) then
color( 0, 255, 255, 25)
end
if (event == "M_PRESSED" and arg == 2) then
color( 0, 127, 255, 25)
end
if (event == "M_PRESSED" and arg == 3) then
color( 0, 255, 0, 25)
end
if (event == "PROFILE_DEACTIVATED") then
color( 0, 0, 0, 15)
end
if (event == "G_PRESSED" and arg == 1) then
color( 255, 255, 255, 25)
end
if (event == "G_PRESSED" and arg == 2) then
color( 255, 255, 0, 25)
end
if (event == "G_PRESSED" and arg == 3) then
color( 0, 255, 255, 25)
end
if (event == "G_PRESSED" and arg == 4) then
color( 255, 0, 255, 25)
end
if (event == "G_PRESSED" and arg == 5) then
color( 255, 0, 0, 25)
end
if (event == "G_PRESSED" and arg == 6) then
color( 0, 255, 0, 25)
end
if (event == "G_PRESSED" and arg == 7) then
color( 0, 0, 255, 25)
end
if (event == "G_PRESSED" and arg == 8) then
color( 255, 127, 0, 25)
end
if (event == "G_PRESSED" and arg == 9) then
color( 0, 255, 127, 25)
end
if (event == "G_PRESSED" and arg == 10) then
color( 127, 0, 255, 25)
end
if (event == "G_PRESSED" and arg == 11) then
color( 100, 255, 255, 25)
end
if (event == "G_PRESSED" and arg == 12) then
m = GetMKeyState()
while (GetMKeyState() == m) do
color( 255, 0, 0, 20)
color( 0, 255, 0, 20)
color( 0, 0, 255, 20)
end
end
end
function color(r2, g2, b2, speed)
for loop = 5, 255, 50 do
SetBacklightColor((r2*loop+r1*(255-loop))/255, (g2*loop+g1*(255-loop))/255, (b2*loop+b1*(255-loop))/255);
Sleep(speed)
end
r1 = r2
g1 = g2
b1 = b2
end
dakujem za akukolvek pomoc