Reply
Logi Nu
digitalshark
Posts: 4
Registered: ‎10-27-2008
0

G15 gaming keyboard M1-M3 buttons

[ Edited ]

Has anyone found a way to have the M1-M3 buttons also press a key on the keyboard as well as perform the normal function?

 

Basically I wonder if the g15 M1-M3 buttons be bound to perform their function and press a key on the keyboard? Or can the f1-f3 buttons be set to also trigger the m1-m3 function buttons

 

I would like to press the M1 key on my keyboard and when I do it also hits F1.

 

Simply put. I play a druid in wow with my G15 and I would like to bind shape shifting to the buttons. That way when i press M1 which is setup for cat form on my g15 bar mod for wow I will change to cat but when I press M2 it will also press F2 which that group is setup for bear form.

Message Edited by digitalshark on 10-27-2008 11:50 AM
Moderator
CharlesB
Posts: 4,196
Registered: ‎07-06-2006
0

Re: G15 gaming keyboard M1-M3 buttons

The M-keys are memory keys for your macro sets (Each set, M1, M2, and M3, are indiviual sets of macros for the G-Keys). Your G-Keys already do that. In fact, the default programming for your G-Keys G1-G6 is F1-F6 (On the M1 set)
Logi Nu
digitalshark
Posts: 4
Registered: ‎10-27-2008
0

Re: G15 gaming keyboard M1-M3 buttons

[ Edited ]

I know i can set the g1-18 buttons to anything but that was not what i am asking.

 

I would like to script or macro or any other function someone may call it so that whn i press "M1" it will make me shape shift in wow. 

 

I DO NOT want to use the g buttons for this as i will be pressing 2x buttons every time i need to change shifted states.  I am fully able to do  that now with cat form bound to F1 and bear form bound to F2 in wow. 

 

I would like to press the m1 button and be shape shifted in wow and be on my m1 group on the keyboard.  This could be done by being able to do one of theese steps

1: when i pres the m1 button it automaticly presses the F1 button which i can bind in wow to make me change form. 

2: when I press M1 it's string in the driver that is activated "event = M_Pressed, arg = 1" causes a bind able function in wow to make me shift forms.

3: I devlop a mod for wow that wil recognize that button press and do a /cast cat form(shapeshift).

 

This is a clear as i can explain it. I dont want to waist my time pressing f1 then m1 or being on the wron memory key wile trying to hit an ability.

I have had terible trouble trying to explain this in several fourms.

Message Edited by digitalshark on 10-28-2008 11:20 PM
Logi Master II
SpecialK
Posts: 1,119
Registered: ‎07-19-2006

Re: G15 gaming keyboard M1-M3 buttons

[ Edited ]

This doesn't work?

function OnEvent(event, arg)
if (event=="M_PRESSED" and arg==1) then
PressAndReleaseKey( "f1" )
endif
end

 

If you want to use it to toggle between F1 and F2, just create a global variable, and then check/set the variable to alternate between F1 and F2.

 

 

Message Edited by SpecialK on 10-31-2008 06:46 PM
Message Edited by SpecialK on 10-31-2008 06:46 PM
Logi Nu
digitalshark
Posts: 4
Registered: ‎10-27-2008
0

Re: G15 gaming keyboard M1-M3 buttons

[ Edited ]

Wow this is so close. I was able to get it to work with one of the m buttons.  here is my code so far.

 

function OnEvent(event, arg)
  if (event=="M_PRESSED" and arg==1) then
     PressAndReleaseKey( "i" )
  end
function OnEvent(event, arg)
  if (event=="M_PRESSED" and arg==2) then
     PressAndReleaseKey( "o" )
  end
function OnEvent(event, arg)
  if (event=="M_PRESSED" and arg==3) then
     PressAndReleaseKey( "p" )
  end
 end
end
end

 

If i remove any of the bottoms ends i get a red arrow and the script dont work.

 

Can you tell me why I cant get it going with all 3 buttons? only the m3 is working.  when i press m3 it presses p with it.

Man we are soooooo close.

Message Edited by digitalshark on 10-31-2008 09:45 PM
Logi Nu
digitalshark
Posts: 4
Registered: ‎10-27-2008
0

Re: G15 gaming keyboard M1-M3 buttons

O sweet .. nvm i got it the final code was

 

 

 function OnEvent(event, arg)
  if (event=="M_PRESSED" and arg==1) then
     PressAndReleaseKey( "i" )
  end
  if (event=="M_PRESSED" and arg==2) then
     PressAndReleaseKey( "o" )
  end
  if (event=="M_PRESSED" and arg==3) then
     PressAndReleaseKey( "p" )
  end
end

 

that makes all of them continue to work and presses i or o or p . but that can be changed to anything form here out. freakin sweeet!! you rock dude. /noggin dude