Register - Login
Views: 99832121
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 09:36:15 PM
Jul - Computers and Technology - Anyone with a G15 keyboard, could you give me a hand? New poll - New thread - New reply
Next newer thread | Next older thread
Sukasa

Level: 123


Posts: 3048/4326
EXP: 20936878
For next: 294388

Since: 07-07-07


Since last post: 1.1 years
Last activity: 1.1 years

Posted on 03-22-11 02:49:32 AM (last edited by Sukasa at 03-21-11 11:52 PM) Link | Quote

I'm trying to write a DLL that'll let me interface with any G15 keyboard hooked up to a computer (LEDs, LCD, buttons, etc) - but I do have one issue: In order to be able to uniquely identify different G15 keyboards, I need to be able to extract their identifiers from their respective device strings (this is win32). This wouldn't be so hard, except I have only 1 G15 and I need at least 2 in order to know what part of their strings to use as the identifiers.

Therefore, I'm wondering if anyone with a minute could download this exe and paste in any message boxes it generates: FindG15s.exe (Source) An example output of the program (i.e. when I run it on my system) is "\\?\hid#vid_046d&pid_c227&col02#7&cbda859&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}".

It would be very much appreciated

____________________
Witty Text Here
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 4129/5390
EXP: 29077187
For next: 257818

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 343 days
Last activity: 343 days

Posted on 03-22-11 03:13:33 AM Link | Quote
Post #4129 · 03-21-11 10:13:33 PM
Well I don't have one, but I can pick out some interesting things just from that sample...
\\?\hid#vid_046d&pid_c227&col02#7&cbda859&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
hid just tells the OS what type of device you're looking for (Human Interface Device).
vid and pid are Vendor ID and Product ID. Those will tell you who makes this device and what particular device it is, but not uniquely identify a device.
{4d1e...0030} is a GUID, Globally Unique Identifier, so that's very likely the unique ID you're looking for.

No idea what the other stuff would be. Hope that helps...

____________________
Sukasa

Level: 123


Posts: 3050/4326
EXP: 20936878
For next: 294388

Since: 07-07-07


Since last post: 1.1 years
Last activity: 1.1 years

Posted on 03-22-11 03:15:25 AM Link | Quote

The GUID is just the standard "HID Class" GUID - it's useless because every keyboard, mouse, and tablet will have that same one, on every win32 system ever.

I'm pretty sure it's the string after 7&, but I'm not sure how much of that string is the ID and how much is extra stuff after it.

____________________
Witty Text Here
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 4131/5390
EXP: 29077187
For next: 257818

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 343 days
Last activity: 343 days

Posted on 03-22-11 03:30:19 AM Link | Quote
Post #4131 · 03-21-11 10:30:19 PM
I don't suppose it's simply the keyboard's serial number in hex?

____________________
Sukasa

Level: 123


Posts: 3051/4326
EXP: 20936878
For next: 294388

Since: 07-07-07


Since last post: 1.1 years
Last activity: 1.1 years

Posted on 03-22-11 03:33:14 AM Link | Quote

Nope.

____________________
Witty Text Here
Joe
Common spammer
🍬
Level: 111


Posts: 1945/3392
EXP: 14501976
For next: 366384

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 1 hour

Posted on 03-22-11 04:20:07 AM Link | Quote
HID\VID_046D&PID_C227&COL02\7&316A2B7A&0&0001
HID\VID_046D&PID_C227&COL02\7&B8276FF&0&0001
HID\VID_046D&PID_C227&COL02\7&14F04D35&0&0001
HID\VID_046D&PID_C227&COL02\7&1DEAD5C9&0&0001
HID\VID_046D&PID_C227&COL02\7&2FA607B4&0&0001
HID\VID_046D&PID_C227&COL02\7&2988A03B&0&0001

Google to the rescue? ;;;

____________________
paulguy

Green Birdo
Level: 93


Posts: 1373/2294
EXP: 8032822
For next: 19988

Since: 09-14-07

From: Buffalo, NY

Since last post: 9.7 years
Last activity: 9.7 years

Posted on 03-22-11 11:09:45 AM Link | Quote
Paulguy's Post configuration
There's no way to properly get some kind of structure or make specific calls from the USB subsystem that has this information all nice and labeled, rather than relying on splitting strings? I remember libusb in linux has some useful stuff. Everything you can get from lsusb (based on the same library) you can get all the values in a nice struct, including the iSerialNumber. I'm thinking maybe but Windows can also be rather asinine so who knows...

____________________
Next newer thread | Next older thread
Jul - Computers and Technology - Anyone with a G15 keyboard, could you give me a hand? New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

30 database queries, 2 query cache hits.
Query execution time: 0.079574 seconds
Script execution time: 0.023427 seconds
Total render time: 0.103001 seconds