Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Key plugin

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
akx
Plugin Author
Posts: 7
Joined: July 20th, 2005, 3:04 pm
Location: Finland

Key plugin

Post by akx »

This little plugin allows you to read keystrokes from the keyboard. You can either use this to make a LCD keylogger ;) or as a hotkey plugin. Source included (MingW compiler).

http://www[dot]devever[dot]net/pegercer/akx/dl/lcdsmartie/key[dot]zip


Have fun! - akx

Mod: plugin uploaded to forums
You do not have the required permissions to view the files attached to this post.
smoguzbenjamin
Posts: 7
Joined: August 6th, 2005, 1:28 pm

Post by smoguzbenjamin »

Cool! I used this to make my WMP controls on my keyboard work with winamp, really nice. The only problem is polling, sometimes it doesn't respond to my keypresses, and I have to press the key twice.

However the novelty of being able to use any key for any function is excellent, and I'll definately be using this plugin for my stand-alone harddisk mp3 player's buttons. :smt023
akx
Plugin Author
Posts: 7
Joined: July 20th, 2005, 3:04 pm
Location: Finland

Post by akx »

You should be able to work around the polling frequency by upping the general plugin frequency, that's (AFAICR, not on a LCDSmartie equipped machine) right where you set the scroll frequency.

I think I have the frequency set at 50msec or something, which just means I need to hold the button a little while. Isn't too inconvenient for me. ;)
smack
Plugin Author
Posts: 21
Joined: July 12th, 2005, 8:42 am

Post by smack »

akx wrote:You should be able to work around the polling frequency by upping the general plugin frequency, that's (AFAICR, not on a LCDSmartie equipped machine) right where you set the scroll frequency.
As I understand the sources (though I'm not a Delphi programmer), it is not possible to change the polling frequency of the "Actions" in LCD Smartie. The actions interval is hardcoded to 250 ms, that's four times per second.

references:
CVS viewer
files UMain.dfm and UMain.pas, search for Timer3


An advantage of my Hotkey plugin is that it doesn't miss any key presses because it uses Windows registered hotkeys and internal buffering. (sorry for the lame advert :wink: )
akx
Plugin Author
Posts: 7
Joined: July 20th, 2005, 3:04 pm
Location: Finland

Post by akx »

Is that so? Well, I guess your finger won't start hurting if you need to press the key for a quarter of a second.
blingbling
Posts: 12
Joined: January 25th, 2006, 11:03 pm
Location: Enlgand UK

Post by blingbling »

great plugin, just one question i want to be able to use my browser home button etc is there anyway of stopping them opening my browser and just working with Smartie
akx
Plugin Author
Posts: 7
Joined: July 20th, 2005, 3:04 pm
Location: Finland

Post by akx »

Blingbling, that's a property of your keyboard driver. Check your Control Panel for it or google for something to disable that functionality... there seem to be some commercial software for it, but I didn't check too thoroughly.
ReverseEngineered
Plugin Author
Posts: 192
Joined: January 18th, 2006, 11:09 pm
Location: Saskatoon, Saskatchewan, Canada

Post by ReverseEngineered »

Many keyboards don't actually send a keycode when you press one of those buttons. Instead the driver intercepts this code and processes it itself, not passing it on to the OS. It might be possible to disable this processing in the driver, but so far I haven't had much luck with this under Linux (which is where it would be easiest). It's one of those mystical questions in Linux: if the Linux keyboard can't see the code, how does the offical driver see it?
DotA_Player
Posts: 57
Joined: February 23rd, 2008, 7:42 pm

Re: Key plugin

Post by DotA_Player »

Link is dead :!:
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Re: Key plugin

Post by limbo »

I attached the file to the first post :D
DotA_Player
Posts: 57
Joined: February 23rd, 2008, 7:42 pm

Re: Key plugin

Post by DotA_Player »

Thank you.
DotA_Player
Posts: 57
Joined: February 23rd, 2008, 7:42 pm

Re: Key plugin

Post by DotA_Player »

Plugin works good - it does recognize key pressure everytime - problem is in smartie, actions check interval is too slow. Function to display "what key codes our uber keyboards have" is perfect! For me it's easier to use it than listing the list of codes in file :) .

One more function and it'll be perfect - Functions to check whenever NUM/CAPS/SCROLL lock is turned on, and there might be possiblity to check even INSERT status (Wireless keyboards are missing status LEDs for locks)
GizmoTheGreen
Posts: 53
Joined: November 19th, 2008, 12:00 pm

Re: Key plugin

Post by GizmoTheGreen »

Another thing ive discovered with the actions tab, is you need to close the config windows for it to take effect.

you cant just press "Apply" and then test it :(
DotA_Player
Posts: 57
Joined: February 23rd, 2008, 7:42 pm

Re: Key plugin

Post by DotA_Player »

GizmoTheGreen wrote:Another thing ive discovered with the actions tab, is you need to close the config windows for it to take effect.

you cant just press "Apply" and then test it :(
Oh, you can't test it, because screens can not be changed when the config is opened, because the screens editor is still active :smt001 . Not a bug.
Post Reply