added missing modifiers arg to function in micro synergy.
This commit is contained in:
parent
77b92b7b6f
commit
11cdee4aa3
|
@ -42,8 +42,7 @@ void screenActive(uSynergyCookie cookie, uSynergyBool active);
|
||||||
void mouse(uSynergyCookie cookie, uint16_t x, uint16_t y, int16_t wheelX,
|
void mouse(uSynergyCookie cookie, uint16_t x, uint16_t y, int16_t wheelX,
|
||||||
int16_t wheelY, uSynergyBool buttonLeft, uSynergyBool buttonRight,
|
int16_t wheelY, uSynergyBool buttonLeft, uSynergyBool buttonRight,
|
||||||
uSynergyBool buttonMiddle);
|
uSynergyBool buttonMiddle);
|
||||||
void keyboard(uSynergyCookie cookie, uint16_t key, uSynergyBool down,
|
void keyboard(uSynergyCookie cookie, uint16_t key, uint16_t modifiers, uSynergyBool down, uSynergyBool repeat);
|
||||||
uSynergyBool repeat);
|
|
||||||
void joystick(uSynergyCookie cookie, uint8_t joyNum, uint16_t buttons,
|
void joystick(uSynergyCookie cookie, uint8_t joyNum, uint16_t buttons,
|
||||||
int8_t leftStickX, int8_t leftStickY, int8_t rightStickX,
|
int8_t leftStickX, int8_t leftStickY, int8_t rightStickX,
|
||||||
int8_t rightStickY);
|
int8_t rightStickY);
|
||||||
|
@ -120,8 +119,7 @@ void mouse(uSynergyCookie cookie, uint16_t x, uint16_t y, int16_t wheelX,
|
||||||
printf("mouse, pos=%d,%d\n", x, y);
|
printf("mouse, pos=%d,%d\n", x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
void keyboard(uSynergyCookie cookie, uint16_t key, uSynergyBool down,
|
void keyboard(uSynergyCookie cookie, uint16_t key, uint16_t modifiers, uSynergyBool down, uSynergyBool repeat)
|
||||||
uSynergyBool repeat)
|
|
||||||
{
|
{
|
||||||
printf("keyboard, key=%d down=%d repeat=%d\n", key, down, repeat);
|
printf("keyboard, key=%d down=%d repeat=%d\n", key, down, repeat);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue