Sukasa

Level: 123
   
Posts: 2112/4326
EXP: 20936847 For next: 294419
Since: 07-07-07
Since last post: 1.1 years Last activity: 1.1 years
|
|
| | | |
Okay, so I've been working on a side project for about 4 hours total now, which is a simple little DLL for .NET that lets you control a Logitech G15 keyboard.
It uses two DLLs I had to scour the web for, which let you control the LCD of the keyboard and the LEDs. (I didn't write them, but I'm using them. So sue me.)
I still have to test it, but at least one third of it is working so far.
Here's the feature set:
Class G15Interface
When instantiated, checks to find any active G15 keyboards (G15c1, G15v2). If no keyboards are available, the class simply nulls out the G15 access objects, but the Low-Level keyboard hook still works.
About that. The DLL has a few functions available to place a hook into the Windows subsystem that allows you to do all sorts of things (please, keep it White Hat ). For example, while testing I had the thing disable the Win key (no word on alt-tab or ctrlaltdel), and it worked great. It's also fairly easy to do.
So, what I have left to do is finish filling out an Enumeration (I have like 200 VK_* codes, except for, lol, A-Z and 0-9 on the Num row [numpad is in]).
In short, it's a coder-friendly, stable library that lets you do whatever the fuck you want with a G15 keyboard, and do a little less but still fun stuff with a generic keyboard, wrapped up nicely into three DLLs and one class.
So, when it's done and the documentation is written, should I release it?
____________________ <@Bitmap> Be completely humble and gentle;
<@Bitmap> And tell them to shut the fuck up
| | | | |
|
Sukasa

Level: 123
   
Posts: 2114/4326
EXP: 20936847 For next: 294419
Since: 07-07-07
Since last post: 1.1 years Last activity: 1.1 years
|
| Posted on 02-17-10 06:50:05 PM (last edited by Sukasa at 02-17-10 03:50 PM) |
Link | Quote
| |
| | | |
<object width="445" height="364"><embed src="http://www.youtube-nocookie.com/v/s5xQBjdh6o0&hl=en_US&fs=1&rel=0&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object>
This is what it'd let you do
____________________ <@Bitmap> Be completely humble and gentle;
<@Bitmap> And tell them to shut the fuck up
| | | | |
|
krutomisi
2480          
Level: 94
   

Posts: 55/2481
EXP: 8266020 For next: 90637
Since: 02-01-10
Since last post: 241 days Last activity: 181 days
|
|
I would totally use that!
If I had the keyboard or ran windows
____________________
|
| empty space |
|
Sukasa

Level: 123
   
Posts: 2115/4326
EXP: 20936847 For next: 294419
Since: 07-07-07
Since last post: 1.1 years Last activity: 1.1 years
|
| Posted on 02-17-10 09:51:24 PM (last edited by Sukasa at 02-17-10 06:57 PM) |
Link | Quote
| |
| | | |
http://www.mediafire.com/file/etczmdtthmi/G15Doc.chm
In case anyone wants to see what's in there, here's the current documentation on the DLL. Enjoy
NOTE: If you download it and get a "navigation error" screen, you have to "unblock" the file, since Windows security is preventing you from viewing the contents of the file. Right-click it, select properties, click "unblock", then hit OK and try again.
____________________ <@Bitmap> Be completely humble and gentle;
<@Bitmap> And tell them to shut the fuck up
| | | | |
|