LiteStep and Awesome Keyboards

Logitech Media Keyboard

Have a kickass keyboard? Wish you could actually use the media functions on it with LiteStep? This article should shed some light on how-to-git-r-done.

This article was originally posted by Immortal at nbi-studio. 

 

Lets talk about the vk104.txt
For me this file is located in C:/Litestep/personal/jkey/vk104.txt

This is the file that handles all button actions or "Mappings"
Now I use a little app called SCANKEY.EXE

Just open up this app and hit the button you want to map.
Text will appear like
ex: ScanCode: 000000AE
Now with this code is the mapping to your button!
We will only need to use the last two letters for our map use.
So we will use "AE"

OK, now here is where the vk104.txt comes into play.
Go and open that file now...remember
C:/Litestep/personal/jkey/vk104.txt
We are going to input a line of code in there like this.
ex:
VolDown , AE

Now I used VolDown because on my keyboard this is the corresponding key.
Lets save the vk104.txt
If we recycle litestep now it does nothing!
Of couse it does nothing!
We forgot to create a hotkey tied to a bang command for Litestep!
Now scratch your head and feel silly!

So for the next step all we need to do is open our hotkey.rc file and add a line of code.
For me that file is located here:
C:/Litestep/personal/hotkey.rc
And add this line of code...
*Hotkey .none VolDown !SliderVolumeDown

Remember that !SliderVolumeDown is a bang command for lsSlider.dll
If this module is not loaded in your theme then guess what?
It still will not work!
So in your theme.rc you would need to load lsSlider.dll
*NetLoadModule lsslider-1.71
Now it does not have to be this version but needs to have the bang command!

Now just go back and add all your buttons and mappings to your vk104.txt
and then add all the hotkeys to control those mappings in your hotkey.rc!

*****************

Here is a sample code snippet for the Logitech Dinovo
For your vk104.txt add this below to your file.

Internet , AC
Email , B4
Search , AA

VolUp , AF
VolMute , AD
VolDown , AE

Media , B5
PlayPause , B3
Next , B0
Previous , B1
Stop , B2

*****************

 Please Note the line for search button:
I use this app for searching files on my pc. find.exe
I place this file in my Litestep-Utilites folder
Also note I am using dynAmp.dll to control my media keys...
If you are using Obsidian & have the Dinovo keyboard you will not need to add
any NetLoadModule lines to your theme.rc as it is using these modules already!


Then for your hotkey.rc add this below to your file.

*Hotkey .none Internet "$Browser$"
*Hotkey .none Email "$Email$"
*Hotkey .none Search "$ThemeDir$utilities\Find.exe"

*Hotkey .none Volup !SliderVolumeup
*Hotkey .none VolMute !Mute_Toggle
*Hotkey .none VolDown !SliderVolumeDown

*Hotkey .none Media !Amp_LoadDir
*Hotkey .none PlayPause !Amp_PlayPause
*Hotkey .none Next !Amp_Next
*Hotkey .none Previous !Amp_Prev
*Hotkey .none Stop !Amp_Stop

Thomax

Neat. If i ever get new keyboard i'll definitely try it.

RraccKdfJTiHfv

gi7uMK