Open tmk opened 8 years ago
I originaly designed that macro can send keycodes only of 0x04-0x73 to save memory space. So I didn't think about sending mouse and media key events in macro much. https://github.com/tmk/tmk_keyboard/blob/33714e55827d1cf52df1d3ff143f03fa34ad1f06/tmk_core/common/action_macro.h#L38-L55
But KEY_DOWN and KEY_UP macro should send be able to send mouse, media, system keys(or even Fn?). https://github.com/tmk/tmk_keyboard/blob/33714e55827d1cf52df1d3ff143f03fa34ad1f06/tmk_core/common/action_macro.c#L40-L59
KEY_DOWN
KEY_UP
register_code() cannot send mouse key for some reason. It seems be no reason for it cannot send mouse keys. https://github.com/tmk/tmk_keyboard/blob/33714e55827d1cf52df1d3ff143f03fa34ad1f06/tmk_core/common/action.c#L352-L425
register_code()
Problem reported: https://geekhack.org/index.php?topic=41989.msg1985887#msg1985887
@tmk I think someone has come across a solution. See this issue.
@tmk So did you take a look?
yes. It is nice workaround for him, but not solution for this Macro issue. Thanks, anyway. good to know.
I originaly designed that macro can send keycodes only of 0x04-0x73 to save memory space. So I didn't think about sending mouse and media key events in macro much. https://github.com/tmk/tmk_keyboard/blob/33714e55827d1cf52df1d3ff143f03fa34ad1f06/tmk_core/common/action_macro.h#L38-L55
But
KEY_DOWN
andKEY_UP
macro should send be able to send mouse, media, system keys(or even Fn?). https://github.com/tmk/tmk_keyboard/blob/33714e55827d1cf52df1d3ff143f03fa34ad1f06/tmk_core/common/action_macro.c#L40-L59register_code()
cannot send mouse key for some reason. It seems be no reason for it cannot send mouse keys. https://github.com/tmk/tmk_keyboard/blob/33714e55827d1cf52df1d3ff143f03fa34ad1f06/tmk_core/common/action.c#L352-L425Problem reported: https://geekhack.org/index.php?topic=41989.msg1985887#msg1985887