Hi all,
do you guys now if there is a possibility to create a macro for the Razer Trinity which would do something like this:
(Explanation:
If you press a button once it returns f.e. keyboard press "0".
If you press the button the second time it should return f.e. keyboard press "1".
3. time again "0".. then "1".. "0"..."1" etc.)
----------------------------------------------------------------------------
#define bool int
#define TRUE 1
#define FALSE 0
int main()
{
bool button_press = FALSE;
int count = 0;
if (button_press == TRUE && count == 0)
{
count = 1;
printf("Button 1");
return count;
}
if (button_press == TRUE && count == 1)
{
count = 0;
printf("Button 0");
return count;
}
}
--------------------------------------------------------------------------------
Macro to alternate button press.
This topic has been closed for comments
I would like something like this too, but I have a Nostromo.
Sign up
Already have an account? Login
Log in with Razer ID to create new threads and earn badges.
LOG INEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.