hotkey plugin to use all keys on keyboard (esp. on g15)

All your questions about LcdStudio 2.0 Plugins

Moderator: LcdStudio2 Experts

hotkey plugin to use all keys on keyboard (esp. on g15)

Postby uNki » Sun Jan 01, 2006 7:30 pm

hi!

i think it would be great to switch between the designs by pressing a key (for example the g-keys on the g15).

i managed myself to switch between 2 designs: system information and winamp design. therefore i defined a G-key on my g15 keyboard as "ctrl-alt-r". in winamp i use this combination for toggling repeat on and off.
in lcdstudio i set the following alerts: system design on if winamp.repeat changes to true and winamp design if winamp.repeat changes to false.
so i can switch between those designs.

the idea:

i could write a program in vb.net that changes certain variables to true if a certain key or combination is pressed. e.g. Button1 = True if you press "ctrl-alt-1".
how can i include those variables into lcdstudio's "Active When ... changes to true/false/any" list??
e.g. activate winamp design if button1 changes to true

does somebody have an idea?


greets uNki
uNki
 
Posts: 9
Joined: Sun Jan 01, 2006 2:58 pm

Postby Ray » Sun Jan 01, 2006 7:49 pm

Sounds like a great idea, go for it
Ray
Site Admin
 
Posts: 3359
Joined: Sat Apr 23, 2005 11:48 am

Done :>

Postby uNki » Fri Jan 06, 2006 12:02 am

ok.. the plugin is done.

how it works:

it checks if the keycombo CTRL-SHIFT-F1 ... CTRL-SHIFT-F12 are pushed.

if such a keycombo is pushed, a variable with the name CTRL-SHIFT-Fxx (same name as the keycombo) is set to true and all variable of the other keycombos are set to false.

what is this useful for?

now you can use the action script of lcdstudio, e.g.:

you have 3 designs. the first one you want to activate by pressing ctrl-shift-f1. so you have to set "activate when CTRL-SHIFT-F1 changes to true"... by pressing the combo it will....

now you can use the g-keys of your g15, too. just configure the CTRL-SHIFT-F combos in your g15 profiler...




i have no webspace. i'll talk to ray if he could upload it.
if you want to have the code, just say it and i'll post it.
if you just want other hotkeys or combos, say it and i'll do it for you.

uNki :>
uNki
 
Posts: 9
Joined: Sun Jan 01, 2006 2:58 pm

Plug

Postby spock » Fri Jan 06, 2006 12:37 am

I can't help but say I find this ingenius in its simplicity!
Great work, unki! Kudos for you!
Keep up the good work.

P.S. If you can't find a host for the plug-in, drop me a line, I'll put it up for you! :wink:
Live long and prosper...
User avatar
spock
Site Admin
 
Posts: 4541
Joined: Mon Feb 17, 2003 6:01 pm
Location: Athens, Greece

Postby uNki » Fri Jan 06, 2006 1:08 am

thx mate :>

i hope that ray will upload it .. maybe he wants to test it first ^^

the next idea is to write an application in which the user can define the hotkeys him/herself. the hotkeys will be saved in an ini file and the plugin hopefully reads them out of this file :>

support for the softbuttons should be possible.

uNki
uNki
 
Posts: 9
Joined: Sun Jan 01, 2006 2:58 pm

Postby Ray » Fri Jan 06, 2006 1:10 am

I already emailed you about this, but you forgot to attach the file......
Ray
Site Admin
 
Posts: 3359
Joined: Sat Apr 23, 2005 11:48 am

Postby uNki » Fri Jan 06, 2006 1:11 am

i wrote a second mail !?

didn't you get it?
uNki
 
Posts: 9
Joined: Sun Jan 01, 2006 2:58 pm

Postby Ray » Fri Jan 06, 2006 1:14 am

gheh ended up in the spamfolder..
Ray
Site Admin
 
Posts: 3359
Joined: Sat Apr 23, 2005 11:48 am

Postby uNki » Fri Jan 06, 2006 1:19 am

:> happens
uNki
 
Posts: 9
Joined: Sun Jan 01, 2006 2:58 pm

Postby Ray » Fri Jan 06, 2006 1:24 am

i posted it on the download page underner the 3rd party downloads.

http://www.lcdstudio.com/site20/download.php
Ray
Site Admin
 
Posts: 3359
Joined: Sat Apr 23, 2005 11:48 am

Postby uNki » Fri Jan 06, 2006 1:26 am

thx!

i'll keep my eyes open.. maybe i find some webspace :>

uNki :>
uNki
 
Posts: 9
Joined: Sun Jan 01, 2006 2:58 pm

Postby Ray » Fri Jan 06, 2006 1:28 am

it usually comes with your internet account? or you get a hosting package from a third party, the free ones are mostly crap because there is no such thing as free hosting.. it's either popup/ad infested, unstable or just plain unusable.
Ray
Site Admin
 
Posts: 3359
Joined: Sat Apr 23, 2005 11:48 am

Postby ego1138 » Fri Jan 06, 2006 2:49 am

Very cool unki. Very ingenious plugin indeed.

Now I don't have to cram as much info onto my screen.

You should post this over on http://www.g15forums.com as well (if you haven't been there already) as I'm sure the guys over there would love it.

Don't suppose you want to tackle a weather plugin next do you? ;)

Nice job!
ego1138
 
Posts: 153
Joined: Fri Dec 09, 2005 1:58 am

Plug-in

Postby spock » Fri Jan 06, 2006 3:24 am

Actually, an idea that popped up is that, that way we can write a plug-in that can control the flow of the designs in a much better way than the built-in playlist.
Actually, I had proposed Ray a series of features for the playlist a looooong time ago, which he turned down as "too complex for the average user".
I see now we can have much more features, like flow control of designs, stop frames, bounce frames, skip frames et cetera. You could add timers, user-defined number of custom variables (eg. UNKI-1, UNKI-2 etc.) with which to control the flow and just tie each design to one of them.
All that until Ray decides to spice up the playlist with some nifty features...
Like the idea?
Live long and prosper...
User avatar
spock
Site Admin
 
Posts: 4541
Joined: Mon Feb 17, 2003 6:01 pm
Location: Athens, Greece

Postby mingingbollock » Fri Jan 06, 2006 11:23 pm

Cool buttons :D cheers dude
mingingbollock
 
Posts: 358
Joined: Wed Mar 31, 2004 9:47 am

Next

Return to Plugins

Who is online

Users browsing this forum: No registered users and 1 guest