| Author |
Message |
uNki
Joined: 01 Jan 2006 Posts: 9
|
|
hotkey plugin to use all keys on keyboard (esp. on g15) |
|
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 |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3359
|
|
|
|
Sounds like a great idea, go for it
|
|
| Sun Jan 01, 2006 7:49 pm |
|
 |
uNki
Joined: 01 Jan 2006 Posts: 9
|
|
Done :> |
|
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 |
 |
 |
spock
Site Admin

Joined: 17 Feb 2003 Posts: 4526 Location: Athens, Greece |
|
Plug |
|
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! 
_________________ Live long and prosper... |
|
| Fri Jan 06, 2006 12:37 am |
 |
 |
uNki
Joined: 01 Jan 2006 Posts: 9
|
|
|
|
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 |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3359
|
|
|
|
I already emailed you about this, but you forgot to attach the file......
|
|
| Fri Jan 06, 2006 1:10 am |
|
 |
uNki
Joined: 01 Jan 2006 Posts: 9
|
|
|
|
i wrote a second mail !?
didn't you get it?
|
|
| Fri Jan 06, 2006 1:11 am |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3359
|
|
|
|
gheh ended up in the spamfolder..
|
|
| Fri Jan 06, 2006 1:14 am |
|
 |
uNki
Joined: 01 Jan 2006 Posts: 9
|
|
|
|
:> happens
|
|
| Fri Jan 06, 2006 1:19 am |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3359
|
|
|
| Fri Jan 06, 2006 1:24 am |
|
 |
uNki
Joined: 01 Jan 2006 Posts: 9
|
|
|
|
thx!
i'll keep my eyes open.. maybe i find some webspace :>
uNki :>
|
|
| Fri Jan 06, 2006 1:26 am |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3359
|
|
|
|
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 |
|
 |
ego1138
Joined: 09 Dec 2005 Posts: 153
|
|
|
|
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!
|
|
| Fri Jan 06, 2006 2:49 am |
|
 |
spock
Site Admin

Joined: 17 Feb 2003 Posts: 4526 Location: Athens, Greece |
|
Plug-in |
|
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 |
 |
 |
mingingbollock
Joined: 31 Mar 2004 Posts: 358
|
|
|
| Fri Jan 06, 2006 11:23 pm |
|
 |
|