-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rival 3 Support #111
Comments
Hello, Thank you for your work! I finish some things on the Here is the default config of the mouse (extracted from SSE). It seems there is 4 color zone (logo, z1, z2, and z3), but I do not know how they implemented that... {
"button_mappings": {
"buttons": [{
"function": 1,
"key_codes": [0]
}, {
"function": 2,
"key_codes": [0]
}, {
"function": 3,
"key_codes": [0]
}, {
"function": 4,
"key_codes": [0]
}, {
"function": 5,
"key_codes": [0]
}, {
"function": 48,
"key_codes": [0]
}, {
"function": 49,
"key_codes": [0]
}, {
"function": 50,
"key_codes": [0]
}],
"no_live_deploy": 1
},
"exact_accel": {
"level": 0
},
"exact_aim": {
"level": 0
},
"free_move": {
"level": 0
},
"polling_rate": {
"level": 1,
"hz": 1000
},
"raw_cpi": {
"level1": 800,
"level2": 1600
},
"rival_logo_color_sequence": {
"data": [
[255, 0, 0], [255, 5, 0], [255, 10, 0], [255, 15, 0], [255, 20, 0], [255, 25, 0], [255, 30, 0], [255, 35, 0], [255, 40, 0], [255, 45, 0], [255, 50, 0], [255, 54, 0], [255, 59, 0], [255, 64, 0], [255, 69, 0], [255, 74, 0], [255, 79, 0], [255, 84, 0], [255, 89, 0], [255, 94, 0], [255, 99, 0], [255, 104, 0], [255, 109, 0], [255, 114, 0], [255, 119, 0], [255, 124, 0], [255, 129, 0], [255, 134, 0], [255, 139, 0], [255, 144, 0], [255, 149, 0], [255, 153, 0], [255, 158, 0], [255, 163, 0], [255, 168, 0], [255, 173, 0], [255, 178, 0], [255, 183, 0], [255, 188, 0], [255, 193, 0], [255, 198, 0], [255, 203, 0], [255, 208, 0], [255, 213, 0], [255, 218, 0], [255, 223, 0], [255, 228, 0], [255, 233, 0], [255, 238, 0], [255, 243, 0], [255, 248, 0], [255, 252, 0], [253, 255, 0], [248, 255, 0], [243, 255, 0], [238, 255, 0], [233, 255, 0], [228, 255, 0], [223, 255, 0], [218, 255, 0], [213, 255, 0], [208, 255, 0], [203, 255, 0], [198, 255, 0], [193, 255, 0], [188, 255, 0], [183, 255, 0], [178, 255, 0], [173, 255, 0], [168, 255, 0], [163, 255, 0], [159, 255, 0], [154, 255, 0], [149, 255, 0], [144, 255, 0], [139, 255, 0], [134, 255, 0], [129, 255, 0], [124, 255, 0], [119, 255, 0], [114, 255, 0], [109, 255, 0], [104, 255, 0], [99, 255, 0], [94, 255, 0], [89, 255, 0], [84, 255, 0], [79, 255, 0], [74, 255, 0], [69, 255, 0], [64, 255, 0], [60, 255, 0], [55, 255, 0], [50, 255, 0], [45, 255, 0], [40, 255, 0], [35, 255, 0], [30, 255, 0], [25, 255, 0], [20, 255, 0], [15, 255, 0], [10, 255, 0], [5, 255, 0], [0, 255, 0], [0, 255, 5], [0, 255, 10], [0, 255, 15], [0, 255, 20], [0, 255, 25], [0, 255, 30], [0, 255, 35], [0, 255, 40], [0, 255, 44], [0, 255, 49], [0, 255, 54], [0, 255, 59], [0, 255, 64], [0, 255, 69], [0, 255, 74], [0, 255, 79], [0, 255, 84], [0, 255, 89], [0, 255, 94], [0, 255, 99], [0, 255, 104], [0, 255, 109], [0, 255, 114], [0, 255, 119], [0, 255, 124], [0, 255, 129], [0, 255, 134], [0, 255, 139], [0, 255, 143], [0, 255, 148], [0, 255, 153], [0, 255, 158], [0, 255, 163], [0, 255, 168], [0, 255, 173], [0, 255, 178], [0, 255, 183], [0, 255, 188], [0, 255, 193], [0, 255, 198], [0, 255, 203], [0, 255, 208], [0, 255, 213], [0, 255, 218], [0, 255, 223], [0, 255, 228], [0, 255, 233], [0, 255, 238], [0, 255, 242], [0, 255, 247], [0, 255, 252], [0, 253, 255], [0, 248, 255], [0, 243, 255], [0, 238, 255], [0, 233, 255], [0, 228, 255], [0, 223, 255], [0, 218, 255], [0, 213, 255], [0, 208, 255], [0, 203, 255], [0, 198, 255], [0, 193, 255], [0, 188, 255], [0, 183, 255], [0, 178, 255], [0, 173, 255], [0, 169, 255], [0, 164, 255], [0, 159, 255], [0, 154, 255], [0, 149, 255], [0, 144, 255], [0, 139, 255], [0, 134, 255], [0, 129, 255], [0, 124, 255], [0, 119, 255], [0, 114, 255], [0, 109, 255], [0, 104, 255], [0, 99, 255], [0, 94, 255], [0, 89, 255], [0, 84, 255], [0, 79, 255], [0, 74, 255], [0, 70, 255], [0, 65, 255], [0, 60, 255], [0, 55, 255], [0, 50, 255], [0, 45, 255], [0, 40, 255], [0, 35, 255], [0, 30, 255], [0, 25, 255], [0, 20, 255], [0, 15, 255], [0, 10, 255], [0, 5, 255], [0, 0, 255], [5, 0, 255], [10, 0, 255], [15, 0, 255], [20, 0, 255], [25, 0, 255], [30, 0, 255], [34, 0, 255], [39, 0, 255], [44, 0, 255], [49, 0, 255], [54, 0, 255], [59, 0, 255], [64, 0, 255], [69, 0, 255], [74, 0, 255], [79, 0, 255], [84, 0, 255], [89, 0, 255], [94, 0, 255], [99, 0, 255], [104, 0, 255], [109, 0, 255], [114, 0, 255], [119, 0, 255], [124, 0, 255], [129, 0, 255], [133, 0, 255], [138, 0, 255], [143, 0, 255], [148, 0, 255], [153, 0, 255], [158, 0, 255], [163, 0, 255], [168, 0, 255], [173, 0, 255], [178, 0, 255], [183, 0, 255], [188, 0, 255], [193, 0, 255], [198, 0, 255], [203, 0, 255], [208, 0, 255], [213, 0, 255], [218, 0, 255], [223, 0, 255], [228, 0, 255], [232, 0, 255], [237, 0, 255], [242, 0, 255], [247, 0, 255], [252, 0, 255], [255, 0, 252], [255, 0, 247], [255, 0, 241], [255, 0, 236], [255, 0, 230], [255, 0, 224], [255, 0, 219], [255, 0, 213], [255, 0, 208], [255, 0, 202], [255, 0, 196], [255, 0, 191], [255, 0, 185], [255, 0, 180], [255, 0, 174], [255, 0, 168], [255, 0, 163], [255, 0, 157], [255, 0, 151], [255, 0, 146], [255, 0, 140], [255, 0, 135], [255, 0, 129], [255, 0, 123], [255, 0, 118], [255, 0, 112], [255, 0, 107], [255, 0, 101], [255, 0, 95], [255, 0, 90], [255, 0, 84], [255, 0, 79], [255, 0, 73], [255, 0, 67], [255, 0, 62], [255, 0, 56], [255, 0, 50], [255, 0, 45], [255, 0, 39], [255, 0, 34], [255, 0, 28], [255, 0, 22], [255, 0, 17], [255, 0, 11], [255, 0, 6]
],
"repeat": 255
},
"rival_z1_color_sequence": {
"data": [
[255, 0, 0], [255, 5, 0], [255, 10, 0], [255, 15, 0], [255, 20, 0], [255, 25, 0], [255, 30, 0], [255, 35, 0], [255, 40, 0], [255, 45, 0], [255, 50, 0], [255, 54, 0], [255, 59, 0], [255, 64, 0], [255, 69, 0], [255, 74, 0], [255, 79, 0], [255, 84, 0], [255, 89, 0], [255, 94, 0], [255, 99, 0], [255, 104, 0], [255, 109, 0], [255, 114, 0], [255, 119, 0], [255, 124, 0], [255, 129, 0], [255, 134, 0], [255, 139, 0], [255, 144, 0], [255, 149, 0], [255, 153, 0], [255, 158, 0], [255, 163, 0], [255, 168, 0], [255, 173, 0], [255, 178, 0], [255, 183, 0], [255, 188, 0], [255, 193, 0], [255, 198, 0], [255, 203, 0], [255, 208, 0], [255, 213, 0], [255, 218, 0], [255, 223, 0], [255, 228, 0], [255, 233, 0], [255, 238, 0], [255, 243, 0], [255, 248, 0], [255, 252, 0], [253, 255, 0], [248, 255, 0], [243, 255, 0], [238, 255, 0], [233, 255, 0], [228, 255, 0], [223, 255, 0], [218, 255, 0], [213, 255, 0], [208, 255, 0], [203, 255, 0], [198, 255, 0], [193, 255, 0], [188, 255, 0], [183, 255, 0], [178, 255, 0], [173, 255, 0], [168, 255, 0], [163, 255, 0], [159, 255, 0], [154, 255, 0], [149, 255, 0], [144, 255, 0], [139, 255, 0], [134, 255, 0], [129, 255, 0], [124, 255, 0], [119, 255, 0], [114, 255, 0], [109, 255, 0], [104, 255, 0], [99, 255, 0], [94, 255, 0], [89, 255, 0], [84, 255, 0], [79, 255, 0], [74, 255, 0], [69, 255, 0], [64, 255, 0], [60, 255, 0], [55, 255, 0], [50, 255, 0], [45, 255, 0], [40, 255, 0], [35, 255, 0], [30, 255, 0], [25, 255, 0], [20, 255, 0], [15, 255, 0], [10, 255, 0], [5, 255, 0], [0, 255, 0], [0, 255, 5], [0, 255, 10], [0, 255, 15], [0, 255, 20], [0, 255, 25], [0, 255, 30], [0, 255, 35], [0, 255, 40], [0, 255, 44], [0, 255, 49], [0, 255, 54], [0, 255, 59], [0, 255, 64], [0, 255, 69], [0, 255, 74], [0, 255, 79], [0, 255, 84], [0, 255, 89], [0, 255, 94], [0, 255, 99], [0, 255, 104], [0, 255, 109], [0, 255, 114], [0, 255, 119], [0, 255, 124], [0, 255, 129], [0, 255, 134], [0, 255, 139], [0, 255, 143], [0, 255, 148], [0, 255, 153], [0, 255, 158], [0, 255, 163], [0, 255, 168], [0, 255, 173], [0, 255, 178], [0, 255, 183], [0, 255, 188], [0, 255, 193], [0, 255, 198], [0, 255, 203], [0, 255, 208], [0, 255, 213], [0, 255, 218], [0, 255, 223], [0, 255, 228], [0, 255, 233], [0, 255, 238], [0, 255, 242], [0, 255, 247], [0, 255, 252], [0, 253, 255], [0, 248, 255], [0, 243, 255], [0, 238, 255], [0, 233, 255], [0, 228, 255], [0, 223, 255], [0, 218, 255], [0, 213, 255], [0, 208, 255], [0, 203, 255], [0, 198, 255], [0, 193, 255], [0, 188, 255], [0, 183, 255], [0, 178, 255], [0, 173, 255], [0, 169, 255], [0, 164, 255], [0, 159, 255], [0, 154, 255], [0, 149, 255], [0, 144, 255], [0, 139, 255], [0, 134, 255], [0, 129, 255], [0, 124, 255], [0, 119, 255], [0, 114, 255], [0, 109, 255], [0, 104, 255], [0, 99, 255], [0, 94, 255], [0, 89, 255], [0, 84, 255], [0, 79, 255], [0, 74, 255], [0, 70, 255], [0, 65, 255], [0, 60, 255], [0, 55, 255], [0, 50, 255], [0, 45, 255], [0, 40, 255], [0, 35, 255], [0, 30, 255], [0, 25, 255], [0, 20, 255], [0, 15, 255], [0, 10, 255], [0, 5, 255], [0, 0, 255], [5, 0, 255], [10, 0, 255], [15, 0, 255], [20, 0, 255], [25, 0, 255], [30, 0, 255], [34, 0, 255], [39, 0, 255], [44, 0, 255], [49, 0, 255], [54, 0, 255], [59, 0, 255], [64, 0, 255], [69, 0, 255], [74, 0, 255], [79, 0, 255], [84, 0, 255], [89, 0, 255], [94, 0, 255], [99, 0, 255], [104, 0, 255], [109, 0, 255], [114, 0, 255], [119, 0, 255], [124, 0, 255], [129, 0, 255], [133, 0, 255], [138, 0, 255], [143, 0, 255], [148, 0, 255], [153, 0, 255], [158, 0, 255], [163, 0, 255], [168, 0, 255], [173, 0, 255], [178, 0, 255], [183, 0, 255], [188, 0, 255], [193, 0, 255], [198, 0, 255], [203, 0, 255], [208, 0, 255], [213, 0, 255], [218, 0, 255], [223, 0, 255], [228, 0, 255], [232, 0, 255], [237, 0, 255], [242, 0, 255], [247, 0, 255], [252, 0, 255], [255, 0, 252], [255, 0, 247], [255, 0, 241], [255, 0, 236], [255, 0, 230], [255, 0, 224], [255, 0, 219], [255, 0, 213], [255, 0, 208], [255, 0, 202], [255, 0, 196], [255, 0, 191], [255, 0, 185], [255, 0, 180], [255, 0, 174], [255, 0, 168], [255, 0, 163], [255, 0, 157], [255, 0, 151], [255, 0, 146], [255, 0, 140], [255, 0, 135], [255, 0, 129], [255, 0, 123], [255, 0, 118], [255, 0, 112], [255, 0, 107], [255, 0, 101], [255, 0, 95], [255, 0, 90], [255, 0, 84], [255, 0, 79], [255, 0, 73], [255, 0, 67], [255, 0, 62], [255, 0, 56], [255, 0, 50], [255, 0, 45], [255, 0, 39], [255, 0, 34], [255, 0, 28], [255, 0, 22], [255, 0, 17], [255, 0, 11], [255, 0, 6]
],
"repeat": 255
},
"rival_z2_color_sequence": {
"data": [
[255, 0, 0], [255, 5, 0], [255, 10, 0], [255, 15, 0], [255, 20, 0], [255, 25, 0], [255, 30, 0], [255, 35, 0], [255, 40, 0], [255, 45, 0], [255, 50, 0], [255, 54, 0], [255, 59, 0], [255, 64, 0], [255, 69, 0], [255, 74, 0], [255, 79, 0], [255, 84, 0], [255, 89, 0], [255, 94, 0], [255, 99, 0], [255, 104, 0], [255, 109, 0], [255, 114, 0], [255, 119, 0], [255, 124, 0], [255, 129, 0], [255, 134, 0], [255, 139, 0], [255, 144, 0], [255, 149, 0], [255, 153, 0], [255, 158, 0], [255, 163, 0], [255, 168, 0], [255, 173, 0], [255, 178, 0], [255, 183, 0], [255, 188, 0], [255, 193, 0], [255, 198, 0], [255, 203, 0], [255, 208, 0], [255, 213, 0], [255, 218, 0], [255, 223, 0], [255, 228, 0], [255, 233, 0], [255, 238, 0], [255, 243, 0], [255, 248, 0], [255, 252, 0], [253, 255, 0], [248, 255, 0], [243, 255, 0], [238, 255, 0], [233, 255, 0], [228, 255, 0], [223, 255, 0], [218, 255, 0], [213, 255, 0], [208, 255, 0], [203, 255, 0], [198, 255, 0], [193, 255, 0], [188, 255, 0], [183, 255, 0], [178, 255, 0], [173, 255, 0], [168, 255, 0], [163, 255, 0], [159, 255, 0], [154, 255, 0], [149, 255, 0], [144, 255, 0], [139, 255, 0], [134, 255, 0], [129, 255, 0], [124, 255, 0], [119, 255, 0], [114, 255, 0], [109, 255, 0], [104, 255, 0], [99, 255, 0], [94, 255, 0], [89, 255, 0], [84, 255, 0], [79, 255, 0], [74, 255, 0], [69, 255, 0], [64, 255, 0], [60, 255, 0], [55, 255, 0], [50, 255, 0], [45, 255, 0], [40, 255, 0], [35, 255, 0], [30, 255, 0], [25, 255, 0], [20, 255, 0], [15, 255, 0], [10, 255, 0], [5, 255, 0], [0, 255, 0], [0, 255, 5], [0, 255, 10], [0, 255, 15], [0, 255, 20], [0, 255, 25], [0, 255, 30], [0, 255, 35], [0, 255, 40], [0, 255, 44], [0, 255, 49], [0, 255, 54], [0, 255, 59], [0, 255, 64], [0, 255, 69], [0, 255, 74], [0, 255, 79], [0, 255, 84], [0, 255, 89], [0, 255, 94], [0, 255, 99], [0, 255, 104], [0, 255, 109], [0, 255, 114], [0, 255, 119], [0, 255, 124], [0, 255, 129], [0, 255, 134], [0, 255, 139], [0, 255, 143], [0, 255, 148], [0, 255, 153], [0, 255, 158], [0, 255, 163], [0, 255, 168], [0, 255, 173], [0, 255, 178], [0, 255, 183], [0, 255, 188], [0, 255, 193], [0, 255, 198], [0, 255, 203], [0, 255, 208], [0, 255, 213], [0, 255, 218], [0, 255, 223], [0, 255, 228], [0, 255, 233], [0, 255, 238], [0, 255, 242], [0, 255, 247], [0, 255, 252], [0, 253, 255], [0, 248, 255], [0, 243, 255], [0, 238, 255], [0, 233, 255], [0, 228, 255], [0, 223, 255], [0, 218, 255], [0, 213, 255], [0, 208, 255], [0, 203, 255], [0, 198, 255], [0, 193, 255], [0, 188, 255], [0, 183, 255], [0, 178, 255], [0, 173, 255], [0, 169, 255], [0, 164, 255], [0, 159, 255], [0, 154, 255], [0, 149, 255], [0, 144, 255], [0, 139, 255], [0, 134, 255], [0, 129, 255], [0, 124, 255], [0, 119, 255], [0, 114, 255], [0, 109, 255], [0, 104, 255], [0, 99, 255], [0, 94, 255], [0, 89, 255], [0, 84, 255], [0, 79, 255], [0, 74, 255], [0, 70, 255], [0, 65, 255], [0, 60, 255], [0, 55, 255], [0, 50, 255], [0, 45, 255], [0, 40, 255], [0, 35, 255], [0, 30, 255], [0, 25, 255], [0, 20, 255], [0, 15, 255], [0, 10, 255], [0, 5, 255], [0, 0, 255], [5, 0, 255], [10, 0, 255], [15, 0, 255], [20, 0, 255], [25, 0, 255], [30, 0, 255], [34, 0, 255], [39, 0, 255], [44, 0, 255], [49, 0, 255], [54, 0, 255], [59, 0, 255], [64, 0, 255], [69, 0, 255], [74, 0, 255], [79, 0, 255], [84, 0, 255], [89, 0, 255], [94, 0, 255], [99, 0, 255], [104, 0, 255], [109, 0, 255], [114, 0, 255], [119, 0, 255], [124, 0, 255], [129, 0, 255], [133, 0, 255], [138, 0, 255], [143, 0, 255], [148, 0, 255], [153, 0, 255], [158, 0, 255], [163, 0, 255], [168, 0, 255], [173, 0, 255], [178, 0, 255], [183, 0, 255], [188, 0, 255], [193, 0, 255], [198, 0, 255], [203, 0, 255], [208, 0, 255], [213, 0, 255], [218, 0, 255], [223, 0, 255], [228, 0, 255], [232, 0, 255], [237, 0, 255], [242, 0, 255], [247, 0, 255], [252, 0, 255], [255, 0, 252], [255, 0, 247], [255, 0, 241], [255, 0, 236], [255, 0, 230], [255, 0, 224], [255, 0, 219], [255, 0, 213], [255, 0, 208], [255, 0, 202], [255, 0, 196], [255, 0, 191], [255, 0, 185], [255, 0, 180], [255, 0, 174], [255, 0, 168], [255, 0, 163], [255, 0, 157], [255, 0, 151], [255, 0, 146], [255, 0, 140], [255, 0, 135], [255, 0, 129], [255, 0, 123], [255, 0, 118], [255, 0, 112], [255, 0, 107], [255, 0, 101], [255, 0, 95], [255, 0, 90], [255, 0, 84], [255, 0, 79], [255, 0, 73], [255, 0, 67], [255, 0, 62], [255, 0, 56], [255, 0, 50], [255, 0, 45], [255, 0, 39], [255, 0, 34], [255, 0, 28], [255, 0, 22], [255, 0, 17], [255, 0, 11], [255, 0, 6]
],
"repeat": 255
},
"rival_z3_color_sequence": {
"data": [
[255, 0, 0], [255, 5, 0], [255, 10, 0], [255, 15, 0], [255, 20, 0], [255, 25, 0], [255, 30, 0], [255, 35, 0], [255, 40, 0], [255, 45, 0], [255, 50, 0], [255, 54, 0], [255, 59, 0], [255, 64, 0], [255, 69, 0], [255, 74, 0], [255, 79, 0], [255, 84, 0], [255, 89, 0], [255, 94, 0], [255, 99, 0], [255, 104, 0], [255, 109, 0], [255, 114, 0], [255, 119, 0], [255, 124, 0], [255, 129, 0], [255, 134, 0], [255, 139, 0], [255, 144, 0], [255, 149, 0], [255, 153, 0], [255, 158, 0], [255, 163, 0], [255, 168, 0], [255, 173, 0], [255, 178, 0], [255, 183, 0], [255, 188, 0], [255, 193, 0], [255, 198, 0], [255, 203, 0], [255, 208, 0], [255, 213, 0], [255, 218, 0], [255, 223, 0], [255, 228, 0], [255, 233, 0], [255, 238, 0], [255, 243, 0], [255, 248, 0], [255, 252, 0], [253, 255, 0], [248, 255, 0], [243, 255, 0], [238, 255, 0], [233, 255, 0], [228, 255, 0], [223, 255, 0], [218, 255, 0], [213, 255, 0], [208, 255, 0], [203, 255, 0], [198, 255, 0], [193, 255, 0], [188, 255, 0], [183, 255, 0], [178, 255, 0], [173, 255, 0], [168, 255, 0], [163, 255, 0], [159, 255, 0], [154, 255, 0], [149, 255, 0], [144, 255, 0], [139, 255, 0], [134, 255, 0], [129, 255, 0], [124, 255, 0], [119, 255, 0], [114, 255, 0], [109, 255, 0], [104, 255, 0], [99, 255, 0], [94, 255, 0], [89, 255, 0], [84, 255, 0], [79, 255, 0], [74, 255, 0], [69, 255, 0], [64, 255, 0], [60, 255, 0], [55, 255, 0], [50, 255, 0], [45, 255, 0], [40, 255, 0], [35, 255, 0], [30, 255, 0], [25, 255, 0], [20, 255, 0], [15, 255, 0], [10, 255, 0], [5, 255, 0], [0, 255, 0], [0, 255, 5], [0, 255, 10], [0, 255, 15], [0, 255, 20], [0, 255, 25], [0, 255, 30], [0, 255, 35], [0, 255, 40], [0, 255, 44], [0, 255, 49], [0, 255, 54], [0, 255, 59], [0, 255, 64], [0, 255, 69], [0, 255, 74], [0, 255, 79], [0, 255, 84], [0, 255, 89], [0, 255, 94], [0, 255, 99], [0, 255, 104], [0, 255, 109], [0, 255, 114], [0, 255, 119], [0, 255, 124], [0, 255, 129], [0, 255, 134], [0, 255, 139], [0, 255, 143], [0, 255, 148], [0, 255, 153], [0, 255, 158], [0, 255, 163], [0, 255, 168], [0, 255, 173], [0, 255, 178], [0, 255, 183], [0, 255, 188], [0, 255, 193], [0, 255, 198], [0, 255, 203], [0, 255, 208], [0, 255, 213], [0, 255, 218], [0, 255, 223], [0, 255, 228], [0, 255, 233], [0, 255, 238], [0, 255, 242], [0, 255, 247], [0, 255, 252], [0, 253, 255], [0, 248, 255], [0, 243, 255], [0, 238, 255], [0, 233, 255], [0, 228, 255], [0, 223, 255], [0, 218, 255], [0, 213, 255], [0, 208, 255], [0, 203, 255], [0, 198, 255], [0, 193, 255], [0, 188, 255], [0, 183, 255], [0, 178, 255], [0, 173, 255], [0, 169, 255], [0, 164, 255], [0, 159, 255], [0, 154, 255], [0, 149, 255], [0, 144, 255], [0, 139, 255], [0, 134, 255], [0, 129, 255], [0, 124, 255], [0, 119, 255], [0, 114, 255], [0, 109, 255], [0, 104, 255], [0, 99, 255], [0, 94, 255], [0, 89, 255], [0, 84, 255], [0, 79, 255], [0, 74, 255], [0, 70, 255], [0, 65, 255], [0, 60, 255], [0, 55, 255], [0, 50, 255], [0, 45, 255], [0, 40, 255], [0, 35, 255], [0, 30, 255], [0, 25, 255], [0, 20, 255], [0, 15, 255], [0, 10, 255], [0, 5, 255], [0, 0, 255], [5, 0, 255], [10, 0, 255], [15, 0, 255], [20, 0, 255], [25, 0, 255], [30, 0, 255], [34, 0, 255], [39, 0, 255], [44, 0, 255], [49, 0, 255], [54, 0, 255], [59, 0, 255], [64, 0, 255], [69, 0, 255], [74, 0, 255], [79, 0, 255], [84, 0, 255], [89, 0, 255], [94, 0, 255], [99, 0, 255], [104, 0, 255], [109, 0, 255], [114, 0, 255], [119, 0, 255], [124, 0, 255], [129, 0, 255], [133, 0, 255], [138, 0, 255], [143, 0, 255], [148, 0, 255], [153, 0, 255], [158, 0, 255], [163, 0, 255], [168, 0, 255], [173, 0, 255], [178, 0, 255], [183, 0, 255], [188, 0, 255], [193, 0, 255], [198, 0, 255], [203, 0, 255], [208, 0, 255], [213, 0, 255], [218, 0, 255], [223, 0, 255], [228, 0, 255], [232, 0, 255], [237, 0, 255], [242, 0, 255], [247, 0, 255], [252, 0, 255], [255, 0, 252], [255, 0, 247], [255, 0, 241], [255, 0, 236], [255, 0, 230], [255, 0, 224], [255, 0, 219], [255, 0, 213], [255, 0, 208], [255, 0, 202], [255, 0, 196], [255, 0, 191], [255, 0, 185], [255, 0, 180], [255, 0, 174], [255, 0, 168], [255, 0, 163], [255, 0, 157], [255, 0, 151], [255, 0, 146], [255, 0, 140], [255, 0, 135], [255, 0, 129], [255, 0, 123], [255, 0, 118], [255, 0, 112], [255, 0, 107], [255, 0, 101], [255, 0, 95], [255, 0, 90], [255, 0, 84], [255, 0, 79], [255, 0, 73], [255, 0, 67], [255, 0, 62], [255, 0, 56], [255, 0, 50], [255, 0, 45], [255, 0, 39], [255, 0, 34], [255, 0, 28], [255, 0, 22], [255, 0, 17], [255, 0, 11], [255, 0, 6]
],
"repeat": 255
},
"set_all_colors": {
"logo_color": {
"blue": 0,
"green": 0,
"red": 0
},
"z1_color": {
"blue": 0,
"green": 0,
"red": 0
},
"z2_color": {
"blue": 0,
"green": 0,
"red": 0
},
"z3_color": {
"blue": 0,
"green": 0,
"red": 0
},
"zone_mask": 15
},
"set_all_resolution": {
"level_active": 1,
"level_max": 2,
"resolution_1": 18,
"resolution_2": 36,
"resolution_3": 46,
"resolution_4": 111,
"resolution_5": 167
}
} |
Also, can you add a screenshot of the SSE interface for that mouse (that helps me to have context). :) |
Oops I forget, can you also give the result of the following command:
to have the exact |
I started working on the branch
I have some questions for the other settings :) Sensitivity
Colors
How did you tries to write those packets? Using Some Rival models uses HID feature report instead of a simple output report for colors... If you still have your captured packet, can you check this? In Wireshark, there is a |
Sensitivity
ColorsYes, I tried to write the color data to The value of |
I will try to work on this the weekend. But I have just a question... What happened if you set |
Hey! Thanks for the work on this handy utility. Nicely written. Initially I got as far as BenJuan26, but then after checking out the rival3 branch, and putting in the udev rule, I managed to get colour control working by changing to interface_number 3 in the profile and adding in a colour control command. Also, note that there are four zones, being base top, base mid, base bottom and logo. I just hacked in a new value type rgbcolorzone that takes a list of colors and sends them accordingly. I might check out the blinky stuff later if I get time, but my real motivation was to turn annoying bling off. HTH |
Sorry for the delayed response. Setting @cdeegz Do you have a fork with colour control working that I could try? |
@BenJuan26 sorry, no fork, but how about a patch? |
Nice, the colours work for me with the patch applied. It's interesting that the logo is indeed its own zone, but they haven't exposed that through SSE3. Edit: Perhaps it's because there's a lot of bleed between the logo colour and the bottom zone colour, and they wanted to avoid that. |
I am currently working on Rivalcfg 4.0, so I do not know if I will add support for this mouse in Rivalcfg 3.x. Probably I will add its support directly to Rivalcfg 4.0. Anyway, thank you for your work! :D |
Hello, I am working on the support of the Rival 3 on Rivalcfg 4.0. I just implemented sensitivity. Can you test it works ?
→ I start working on colors now :) |
Getting an error. I think it's related to the change to 4.0:
|
it seems there is a mix of both versions... For now, you can try from the git repository:
I will try to reproduce you issue tomorrow to see how this can be fixed :) |
Colors are now implemented too for the Rival 3. This can be tested with params like this:
|
any news ? :) |
@w3aponx Yeah ! It works :D Can you try sensitivity too? For example
With this setting, the cursor should be very slow at first, then if you click on the dpi switch button 4 times, you will be on the 5th preset and the mouse cursor should move quickly You can then reset to the default value (with 2 presets):
Thank you for your help :) |
@flozz Works like a charm. And also I now do away with |
Thank you very much for the feedback, I will merge this in the → This mouse will be supported in rivalcfg 4.0 :) |
EDIT: Added the device ID
EDIT2: Added sensitivity increments and range
I've tried to do as much debugging as I can and was able the determine the commands for sensitivity and polling rate. I did not have such luck with the lighting.
Device ID
The Rival 3's ID is
1038:1824
.Sensitivity
Sensitivity is in increments of 100 and goes from 200 to 8500. The command is
0b 00
followed by up to 7 arguments:It's possible I overlooked a simpler way to calculate that, but here are the first few values (in decimal):
You can see it's a simple pattern, and the formula provided works.
For example, selecting level 2 out of 4, where the levels are 200, 400, 800, and 1600 DPI, respectively:
Polling
Polling is identical to the base Rival config:
04 00
where the choices are 1000, 500, 250, and 125, corresponding to01
,02
,03
, and04
, respectively.Lighting
I was able to save the packets for steady-state LED colour, but I had no luck trying to write the commands to
hidraw
myself. There are 3 lighting zones: top, middle, and bottom/logo; they are always written at the same time like so:Example, setting top to
#123456
, middle to#654321
, and bottom/logo to#0088ff
:However, like I said, although I was always able to see these packets coming through, I couldn't write them myself like I could with sensitivities and polling rate.
Saving to device memory
Like other mice,
09
will save the configuration to the mouse's memory.Please let me know if there is any more reverse engineering I should do. I didn't even attempt to do the more complex lighting configurations since I couldn't get the base configuration to work.
The text was updated successfully, but these errors were encountered: