2006-04-30, 09:24 PM
I've been playing with McbainUK's Volume OSD plugin and am pretty happy with it except for one thing. I'd like to avoid the [up to] one second delay that it takes for the plugin to appear.
I've considered being "always on" and rendering transparent until the volume changed but I too considered this misbehaved.
I've found that the volume osd can appear "instantly" if the keyboard shortcut 5 F11 is sent by my remote software following volume changes (my volume plugin is VideoPlugin5). This is abusive use of the "activate plugin" shortcut and also sometimes switches to channel 5.
Is there any way the plugin can receive keyboard events even while it is deactivated? If not, could a "two plugin in one" strategy be used? A parallel plugin would always spy on the keyboard events but do nothing. When a +/- (volume change) keypress was noticed, and the volume plugin was not currently active, it would push 5 F11 keyboard events.
Ideally the IVideoPlugin api could be told that needsToBeShown() should be called on keyboard events. Something like usesKeyboardActivation(true).
Any suggestions, pointers would be greatly appreciated.
I've considered being "always on" and rendering transparent until the volume changed but I too considered this misbehaved.
I've found that the volume osd can appear "instantly" if the keyboard shortcut 5 F11 is sent by my remote software following volume changes (my volume plugin is VideoPlugin5). This is abusive use of the "activate plugin" shortcut and also sometimes switches to channel 5.
Is there any way the plugin can receive keyboard events even while it is deactivated? If not, could a "two plugin in one" strategy be used? A parallel plugin would always spy on the keyboard events but do nothing. When a +/- (volume change) keypress was noticed, and the volume plugin was not currently active, it would push 5 F11 keyboard events.
Ideally the IVideoPlugin api could be told that needsToBeShown() should be called on keyboard events. Something like usesKeyboardActivation(true).
Any suggestions, pointers would be greatly appreciated.