Is there any way to get the M1/M2/M3 keys working? With just G15Daemon they don't seem to do anything at all. With G15Macro they do seem to function, although they don't light up like they should. I don't need macro's, I'd just like to be able to get it to send the "G1" key when I press G1 when M1 is active, "G7" when I press G1 when M2 is active, "G13" when I press G1 when M3 is active, etc. Is that possible at all right now? I've tried messing with g15macro but I can't seem to get it to do this. I've even tried this:
Codes for MKey 1
Key G1:
G1 Down 16
G1 Up 16
Key G2:
G2 Down 16
G2 Up 16
Key G3:
G3 Down 16
G3 Up 16
Key G4:
G4 Down 16
G4 Up 16
Key G5:
G5 Down 16
G5 Up 16
Key G6:
G6 Down 16
G6 Up 16
Key G7: XF86LaunchA
Key G8: XF86LaunchB
Key G9: XF86LaunchC
Key G10: XF86LaunchD
Key G11: XF86LaunchE
Key G12: XF86LaunchF
Key G13: XF86iTouch
Key G14: XF86Calculater
Key G15: XF86Support
Key G16: XF86Word
Key G17: XF86Messenger
Key G18: XF86WebCam
Codes for MKey 2
Key G1:
G7 Down 16
G7 Up 16
Key G2:
G8 Down 16
G8 Up 16
Key G3:
G9 Down 16
G9 Up 16
Key G4:
G10 Down 16
G10 Up 16
Key G5:
G11 Down 16
G11 Up 16
Key G6:
G12 Down 16
G12 Up 16
Key G7: F19
Key G8: F20
Key G9: F21
Key G10: F22
Key G11: F23
Key G12: F24
Key G13: F25
Key G14: F26
Key G15: F27
Key G16: F28
Key G17: F29
Key G18: F30
Codes for MKey 3
Key G1:
G13 Down 16
G13 Up 16
Key G2:
G14 Down 16
G14 Up 16
Key G3:
G15 Down 16
G15 Up 16
Key G4:
G16 Down 16
G16 Up 16
Key G5:
G17 Down 16
G17 Up 16
Key G6:
G18 Down 16
G18 Up 16
Key G7: eogonek
Key G8: ecaron
Key G9: dcaron
Key G10: dstroke
Key G11: nacute
Key G12: ncaron
Key G13: odoubleacute
Key G14: udoubleacute
Key G15: rcaron
Key G16: uring
Key G17: scaron
Key G18: abovedot
This partially works, but for some keys it changes the key to (null), and the config looks like this after running G15Macro:
Codes for MKey 1
Key G1:
(null) Down 16
(null) Up 16
Key G2:
G2 Down 16
G2 Up 16
Key G3:
(null) Down 16
(null) Up 16
Key G4:
(null) Down 16
(null) Up 16
Key G5:
(null) Down 16
(null) Up 16
Key G6:
(null) Down 16
(null) Up 16
Key G7: XF86LaunchA
Key G8: XF86LaunchB
Key G9: XF86LaunchC
Key G10: XF86LaunchD
Key G11: XF86LaunchE
Key G12: XF86LaunchF
Key G13: XF86iTouch
Key G14: XF86Calculater
Key G15: XF86Support
Key G16: XF86Word
Key G17: XF86Messenger
Key G18: XF86WebCam
Codes for MKey 2
Key G1:
G7 Down 16
G7 Up 16
Key G2:
(null) Down 16
(null) Up 16
Key G3:
(null) Down 16
(null) Up 16
Key G4:
G10 Down 16
G10 Up 16
Key G5:
G11 Down 16
G11 Up 16
Key G6:
G12 Down 16
G12 Up 16
Key G7: F19
Key G8: F20
Key G9: F21
Key G10: F22
Key G11: F23
Key G12: F24
Key G13: F25
Key G14: F26
Key G15: F27
Key G16: F28
Key G17: F29
Key G18: F30
Codes for MKey 3
Key G1:
G13 Down 16
G13 Up 16
Key G2:
(null) Down 16
(null) Up 16
Key G3:
G15 Down 16
G15 Up 16
Key G4:
(null) Down 16
(null) Up 16
Key G5:
G17 Down 16
G17 Up 16
Key G6:
G18 Down 16
G18 Up 16
Key G7: eogonek
Key G8: ecaron
Key G9: dcaron
Key G10: dstroke
Key G11: nacute
Key G12: ncaron
Key G13: odoubleacute
Key G14: udoubleacute
Key G15: rcaron
Key G16: uring
Key G17: scaron
Key G18: abovedot
I don't know why it does this, and with some messing around I can get (for example) G3 to work... which then results in G2 breaking. There doesn't seem to be any logic in this as far as I've been able to discover.
I'm using G15Daemon v1.9.5.3, G15Macro 1.0.4 (revision 531).
Does anyone have any idea how to get this to work properly? Is this just me or are others experiencing similar problems?
Re: M keys
I don't know about g15macro, since I never used it myself. However, without it, the M1-M3 and MR should register as normal buttons. Using that as information, you should then be able to use something on the X11 level to emulate what you want, although you definitely won't get the leds working if you go that way.
I do know the infrastructure to control the leds exists in the driver. Never played with that bit myself.
Yeah, I tried something like
Yeah, I tried something like that too. I had 3 xmodmap files for the three modes, and M1-3 bound to activating one of them. But for some reason, even after rebinding the keys, if I had something bound to G1 it would still run when pressing G1, even if G1 was G7 or G13 at that point. Perhaps I was doing something wrong there, but it didn't really work out for me.
I've also tried a custom piece of code using libg15/libg15daemon_client which should change the leds, but it was buggy. Perhaps the code responsible for this in the libs is buggy? All programs that change the leds (like G15Macro) seem to be buggy in doing so.