Hello
I am the proud owner of a G11 keyboard (a G15v1 without LCD).
I am mainly interrested in the macro capabilities of this keyboard, thats why I use G15daemon and G15macro.
G15macro had some trouble with the G11, I have fixed nearly all of them (bad keycodes for Gxx and multimedia keys, 100%cpu usage ...)
I am attacking another problem : the MR led is always ON, and I don't find a way to control it.
G15macro use the following command to do so :
g15_send_cmd (g15screen_fd,G15DAEMON_MKEYLEDS, G15_LED_MR | mled_state);
But this doesn't work on my G11. I have modified it to test all values (1<<0 to 1<<8) and it doesn't change anything.
My question is : does G15daemon know how to control this led ??
All other leds (M1-3) are working.
Re: How to control MR led on G11 keyboard
Would also be good if you provided the correct keycodes, so that other G11 users do not need to face the same problem :)
Correct keycodes
Here are the G15 and G11 keycodes (extracted from my modified version of g15macro)
const int g15keycodes[] = { 177,152,190,208,129,130,231,209,210,136,220,143,246,251,137,138,133,183 };
const int g11keycodes[] = { 175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192 };
const int g15mmedia_codes[] = {164, 162, 144, 153, 174, 176};
const int g11mmedia_codes[] = {174, 172, 173, 171, 122, 123};
Re: How to control MR led on G11 keyboard
I don't have the code in front of me right now, but I believe g15daemon passes commands like that on to libg15, so if the g11 MR LED is not correctly handled libg15 is probably the culprit.