M913 and M686 button mapping: add profile_switch

This commit is contained in:
dokutan 2021-12-30 22:49:36 +01:00
parent 1719508a37
commit d6e24711fa
2 changed files with 2 additions and 0 deletions

View file

@ -79,6 +79,7 @@ std::map< std::string, std::array<uint8_t, 4> > mouse_m686::_c_keycodes = {
{ "dpi-cycle", { 0x02, 0x01, 0x00, 0x52 } },
{ "default", { 0x05, 0x00, 0x00, 0x50 } },
{ "none", { 0x00, 0x00, 0x00, 0x55 } },
{ "profile_switch", { 0x09, 0x00, 0x00, 0x4c } },
};
// DPI → bytecode

View file

@ -64,6 +64,7 @@ std::map< std::string, std::array<uint8_t, 4> > mouse_m913::_c_keycodes = {
{ "dpi-cycle", { 0x02, 0x01, 0x00, 0x52 } },
{ "default", { 0x05, 0x00, 0x00, 0x50 } },
{ "none", { 0x00, 0x00, 0x00, 0x55 } },
{ "profile_switch", { 0x09, 0x00, 0x00, 0x4c } },
};
// DPI → bytecode