I am trying to bind XF86 media keys using their keycodes in the keymap under moc 2.6-alpha2, but it throws up the following error message: "bad key sequence".
I don't know anything about XF86 media keys and a quick web search didn't throw up anything I could use so I'm commenting out of ignorance, but I'm guessing it might be more a question of whether or not ncurses (which MOC uses for keyboard input and screen output) supports them and I think the answer to that is probably "no".
The comments at the start of the keymap.example file documents the accepted syntax for describing bindings, so if XF86 media keys fall outside of that syntax then the answer is definitely "no".
But if someone wants to take the time to do a little research on the ncurses question and on what changes would be required to support it then I'll take a look at its feasibility.
Out of interest, I'd like to see what you had placed in your keymap file which triggered the error message.
I tend to agree with you, but without knowing more about the circumstances under which the error is reported there's little more we can do... and "chumbawumba" appears to have disengaged.
jcf
Mon, 2016-11-28 03:22
Permalink
Changes in the Key of XF86
I don't know anything about XF86 media keys and a quick web search didn't throw up anything I could use so I'm commenting out of ignorance, but I'm guessing it might be more a question of whether or not ncurses (which MOC uses for keyboard input and screen output) supports them and I think the answer to that is probably "no".
The comments at the start of the
keymap.example
file documents the accepted syntax for describing bindings, so if XF86 media keys fall outside of that syntax then the answer is definitely "no".But if someone wants to take the time to do a little research on the ncurses question and on what changes would be required to support it then I'll take a look at its feasibility.
Out of interest, I'd like to see what you had placed in your
keymap
file which triggered the error message.desu
Thu, 2019-01-24 17:12
Permalink
imo it's your x wm's job to
imo it's your x wm's job to catch those
but moc has it's own keys for volume
jcf
Fri, 2019-01-25 00:35
Permalink
I Tend To Agree
I tend to agree with you, but without knowing more about the circumstances under which the error is reported there's little more we can do... and "chumbawumba" appears to have disengaged.