Remote control (not WinLIRC)
Hello everybody! I've got a TV card with remote controler which I'd like to use to control BSPlayer. I use a program called bRemote to emulate keyboard and mouse actions with the remote. It can also send messages to applications (which is much more efficient). Unfortunately I can't make it work whith BSPlayer. Could anyone please help me? Below you can see functions available in bRemote. I'd be grateful for a working example (some simple command like pause).
Command(wparam)
Sends WM_COMMAND message to the current window. This is the same as Message(WM_COMMAND, wparam, 0)
CommandWin(wparam, window)
Sends WM_COMMAND message to the window with given name.
CommandApp(wparam, class [, window])
Sends WM_COMMAND message to the app's window with class and windowname.
Message(msg, wparam, lparam)
Sends message to the current window.
MessageWin(msg, wparam, lparam, window)
Sends message to the window with given name.
MessageApp(msg, wparam, lparam, class [, window])
Sends message to the app's window with class and windowname.
|