View Single Post
  #1 (permalink)  
Old 16th July 2004
macmark macmark is offline
Junior Member
BS.Player Newbie
 
Join Date: Jul 2004
Location: Poland
Posts: 4
Rep Power: 0
macmark is an unknown quantity at this point
Default 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.
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20