screen volume bar/generic keyboard driver

toughwimp11

Senior member
May 8, 2005
415
0
76
i recently bought a new keyboard (logitech comfort wave 450) but to my surprise, logitech does not offer drivers for this keyboard. i tried several versions of setpoint but none of the identify my keyboard. anyway, i'm fine with using the generic xp drivers for keyboards since all the multimedia buttons still work but i am upset that now, when i change the volume via the multimedia buttons, a volume bar no longer shows up to inform me of the volume. Does anyone know any generic drivers which will allow me to do this or even a small program which will detect whenever the volume is changed and display some sort of bar on the screen showing the current volume??
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
Ah, oops, sorry. That's what I get for replying to posts late at night.
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
Easiest way is probably event ghost.
http://www.eventghost.org/
copy and paste this into notepad and save it as volume.xml
Load it into event ghost
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Name="Configuration Tree" Expanded="True" Version="1194" Guid="{50637B7E-0C07-46C7-B4FE-EBBEB1BDE556}" Time="1258566306.97">
    <Autostart Name="Autostart" Expanded="True">
     </Autostart>
    <Macro Name="Volume Up" Expanded="True">
        <Event Name="HID.Button.233+1281" />
        <Action>
            System.ChangeMasterVolumeBy(10.0, 0)
        </Action>
        <Action>
            EventGhost.ShowOSD(u'Volume: ({round(eg.result,1)}&#37;)\n', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
        </Action>
    </Macro>
    <Macro Name="Volume Down" Expanded="True">
        <Event Name="HID.Button.234+1281" />
        <Action>
            System.ChangeMasterVolumeBy(-10.0, 0)
        </Action>
        <Action>
            EventGhost.ShowOSD(u'Volume: ({round(eg.result,1)}%)\n', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
        </Action>
    </Macro>
    <Macro Name="Volume Mute" Expanded="True">
        <Event Name="HID.Button.226+1281" />
        <Action>
            System.ToggleMute(0)
        </Action>
        <Action>
            EventGhost.ShowOSD(u'Volume: MUTE', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 0, 0), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
        </Action>
    </Macro>
</EventGhost>

Then in eventghost add the HID plugin below autostart by right clicking and picking add plugin, pick your keyboard and then press the keys you want to be used for volume and they will appear as events on the left. Drag that event to the place on the right below the function. Mine says HID button xxxxx yours could be different so delete mine.

url]



Evenghost is very powerful and can do a whole lot more, allowing you to remap the whole keyboard, mouse, joysticks, ir remotes, add network commands, etc.
 
Last edited:

toughwimp11

Senior member
May 8, 2005
415
0
76
i can't get sound control to work with my multimedia volume buttons, it only works with custom key combinations declared in sound control.

as far as eventghost goes, how do i know what number corresponds to what key in the HID.button event? the keyboard buttons I press aren't showing up in the log
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
as far as eventghost goes, how do i know what number corresponds to what key in the HID.button event? the keyboard buttons I press aren't showing up in the log

Did you select the keyboard in the hid plugin ?
Are any keys showing when you press them in the log window ?

One other thing you can try is adding the keyboard plugin, see if the keys show up then. Some keyboards send the data via hid others via keys.
 
Last edited: