LcdStudio.Com Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
hotkey plugin to use all keys on keyboard (esp. on g15)
Goto page 1, 2, 3, 4  Next
 
Reply to topic    LcdStudio.Com Forum Index » Plugins View previous topic
View next topic
hotkey plugin to use all keys on keyboard (esp. on g15)
Author Message
uNki



Joined: 01 Jan 2006
Posts: 9

Post hotkey plugin to use all keys on keyboard (esp. on g15) Reply with quote
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
Sun Jan 01, 2006 7:30 pm View user's profile Send private message ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3359

Post Reply with quote
Sounds like a great idea, go for it
Sun Jan 01, 2006 7:49 pm View user's profile Send private message Send e-mail Visit poster's website
uNki



Joined: 01 Jan 2006
Posts: 9

Post Done :> Reply with quote
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 :>
Fri Jan 06, 2006 12:02 am View user's profile Send private message ICQ Number
spock
Site Admin


Joined: 17 Feb 2003
Posts: 4526
Location: Athens, Greece

Post Plug Reply with quote
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...
Fri Jan 06, 2006 12:37 am View user's profile Send private message Send e-mail Visit poster's website ICQ Number
uNki



Joined: 01 Jan 2006
Posts: 9

Post Reply with quote
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
Fri Jan 06, 2006 1:08 am View user's profile Send private message ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3359

Post Reply with quote
I already emailed you about this, but you forgot to attach the file......
Fri Jan 06, 2006 1:10 am View user's profile Send private message Send e-mail Visit poster's website
uNki



Joined: 01 Jan 2006
Posts: 9

Post Reply with quote
i wrote a second mail !?

didn't you get it?
Fri Jan 06, 2006 1:11 am View user's profile Send private message ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3359

Post Reply with quote
gheh ended up in the spamfolder..
Fri Jan 06, 2006 1:14 am View user's profile Send private message Send e-mail Visit poster's website
uNki



Joined: 01 Jan 2006
Posts: 9

Post Reply with quote
:> happens
Fri Jan 06, 2006 1:19 am View user's profile Send private message ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3359

Post Reply with quote
i posted it on the download page underner the 3rd party downloads.

http://www.lcdstudio.com/site20/download.php
Fri Jan 06, 2006 1:24 am View user's profile Send private message Send e-mail Visit poster's website
uNki



Joined: 01 Jan 2006
Posts: 9

Post Reply with quote
thx!

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

uNki :>
Fri Jan 06, 2006 1:26 am View user's profile Send private message ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3359

Post Reply with quote
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.
Fri Jan 06, 2006 1:28 am View user's profile Send private message Send e-mail Visit poster's website
ego1138



Joined: 09 Dec 2005
Posts: 153

Post Reply with quote
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? Wink

Nice job!
Fri Jan 06, 2006 2:49 am View user's profile Send private message
spock
Site Admin


Joined: 17 Feb 2003
Posts: 4526
Location: Athens, Greece

Post Plug-in Reply with quote
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...
Fri Jan 06, 2006 3:24 am View user's profile Send private message Send e-mail Visit poster's website ICQ Number
mingingbollock



Joined: 31 Mar 2004
Posts: 358

Post Reply with quote
Cool buttons Very Happy cheers dude
Fri Jan 06, 2006 11:23 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    LcdStudio.Com Forum Index » Plugins All times are GMT + 1 Hour
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.