|
General Talk And Support General talk and peer-to-peer support about BS.Player and other video and audio multimedia players. |
| LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
Remote control (not WinLIRC) 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. |
| |||
Macmark, I have to say I have no experience with bRemote, since I use Girder myself. However it looks like they are almost the same, so i will try to give you a few pointers. Take a look at the bsp.h file in the SDK subdirectory of BSplayer. It contains all the info you need : The BSplayer window is called "BSPlayer" It's important that you use the window option because when you have openend a movie the video window will be the top window and this one doesn't accept messages. (so don't use current window) The msg parameter = 1026 (this is always the same for BSplayer) The wparam = 21 (for pause, get the rest out of the bsp.h) The lparam = 0 (always) This should do the trick. In case it's not working I sugest you give Girder a try. That way you can use my configuration file (with a few small modifications for the latest versions that I still need to take care of) I wrote a small tutorial on building a remote and controlling BSPlayer with both WinLirc (I don't recommend that) and Girder. Maybe it's of use to you : http://users.skynet.be/RafkeP/tutorials/remote Good luck, Rafke |
| |||
Thank you very much! I red your tutorial before writing my first post but the Girder file I found there was useless in my case. I also red bsp.h file and it contained everything I needed but the value of WM_USER+2. Now everything workins fine. Thanks againg man!
|
| |||
You are welcome. I'm happy you got it working. I intend to update the Girder gml file for BSplayer one day, but first I need to finish my LCD plugin. In the mean time : if anyone has problems getting girder to work with my files, feel free to contact me : I'll put you back on track. Rafke |
| |||
bRemote???
where can I get this bRemote software?? I am soon going to have HP notebook which contains a expresscard IR remote control. I would like to make that work with BSplayer... could Girder or bRemote help in doing this?? |
| ||||
http://bsplayer.com/forum/viewtopic.php?t=12922 Don't doublepost please !
__________________ Help2Help (click) BSplayer: simply the best & most versatile (Build 1072 Dutch language here!) When posting always mention your computer's OS and the version and build number(!) of BS.Player as used by you, as well as - if applicable and especially when encountering problems - the type(s) of the file(s) mentioned in your post. Private messages/Visitor messages are NOT for seeking personal help with respect to BS.Player! Instead use the forums! |
Tags |
control, remote, winlirc |
Thread Tools | Search this Thread |
Display Modes | |
| |