Skip to content
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

Device Identification #7

Open
kaigiessen opened this issue Jun 9, 2022 · 2 comments
Open

Device Identification #7

kaigiessen opened this issue Jun 9, 2022 · 2 comments

Comments

@kaigiessen
Copy link

Hi ronangaillard,

first of all, Thank You for this awesome code!

I downloaded the master, connected the wires and everything is just working fine. The mouse pointer is moving in circles as expected.

In the Logitech Software the Arduino is listed as a "keyboard". Is there a way to change the device/type, so that it actually shows up as a mouse? Does this have to do with the pairing packets and do you have a hint how to adjust this?

Thanks
kaigiessen

@ronangaillard
Copy link
Owner

Good question. I wrote that code a long time ago so I don't know, but indeed it must be in the pairing packets.

@ataberkdlkl
Copy link

hello,

i changed pairing things like that and sees as a mouse MKRGB

/* Pre-defined pairing packet*/// 15: 5F: 01: 33: 44: 55: 66: 77: 08: 10: 17: 04: 00: 02: 06: 00: 00: 00: 00: 00: 01 A6
uint8_t pairing_packet_1[22] = {0x15, 0x5F, 0x01, 0x33, 0x44, 0x55, 0x66, 0x77, 0x08, 0x10, 0x17, 0x04, 0x00, 0x02, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xA6};
uint8_t pairing_packet_1_bis[5] = {0x15, 0x40, 0x01, 0x33, 0x26};///15:40:01:33:26
//uint8_t pairing_packet_1_bis[5] = {0x15, 0x40, 0x01, 0x84, 0x26};
/// 00: 5F: 02: 00: 00: 00: 00: AA: BB CC: DD: 04: 00: 00: 00: 01: DD: 00: 00: 00: 00: AF
uint8_t pairing_packet_2[22] = {0x00, 0x5F, 0x02, 0x00, 0x00, 0x00, 0x00, 0xAA, 0xBB, 0xCC, 0xDD, 0x04, 0x00, 0x00, 0x00, 0x01, 0xDD, 0x00, 0x00, 0x00, 0x00, 0xAF};//15:1F:01:49:16:90:09:AE:08:88:02:04:01:02:06:00:00:00:00:00:00:86
uint8_t pairing_packet_2_bis[5] = {0x00, 0x40, 0x02, 0x01, 0xBD};//00:40:02:01:BD
/// 00: 5F: 03: 01: 06: 4D: 4B: 52: 47: 42: 00: 00: 00: 00: 00: 00: D4: 00: 00: 00: 00: 50
uint8_t pairing_packet_3[22] = {0x00, 0x5F, 0x03, 0x01, 0x06, 0x4D, 0x4B, 0x52, 0x47, 0x42, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD4, 0x00, 0x00, 0x00, 0x00, 0x50};
uint8_t pairing_packet_3_bis[5] = {0x00, 0x5F, 0x03, 0x01, 0x0f};//00:5F:03:01:0F
uint8_t pairing_packet_4[10] = {0x00, 0x0F, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEA};
/* Enf of pre-defined pairing packets */ but the problem, i cant connect other mouse or after some time its disconnect any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants