Register - Login
Views: 99801095
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 06:46:53 AM
Jul - Computers and Technology - Release this when done? [G15 DLL] New poll - New thread - New reply
Next newer thread | Next older thread
Read the post, then reply
Yes or no.
Yes
 
100.0%, 4 votes
No   0.0%, 0 votes
Multi-voting is disabled. 4 users have voted.

Sukasa

Level: 123


Posts: 2112/4326
EXP: 20935684
For next: 295582

Since: 07-07-07


Since last post: 1.1 years
Last activity: 1.1 years

Posted on 02-17-10 06:43:24 PM Link | Quote

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: 20935684
For next: 295582

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: 8265465
For next: 91192

Since: 02-01-10


Since last post: 241 days
Last activity: 181 days

Posted on 02-17-10 07:06:51 PM Link | Quote

I would totally use that!

If I had the keyboard or ran windows

____________________
empty space
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 4344/12211
EXP: 99321021
For next: 552550

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 02-17-10 08:53:58 PM Link | Quote

Time/Date

02-17-10 02:53:58 PM

Posts

4344

Days Here

960

Level

96
Metal_Man88
Local Moderator
Nifty.

Yeah, it'd be nice to release.

____________________
Original Layout © Tobias Kelmandia
Sukasa

Level: 123


Posts: 2115/4326
EXP: 20935684
For next: 295582

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
Next newer thread | Next older thread
Jul - Computers and Technology - Release this when done? [G15 DLL] New poll - New thread - New reply


Rusted Logic

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

35 database queries, 2 query cache hits.
Query execution time: 0.120467 seconds
Script execution time: 0.020899 seconds
Total render time: 0.141366 seconds