View Single Post
  #2 (permalink)  
Old 17th September 2008
Tizio Tizio is offline
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 28
Tizio will become famous soon enough
Default

Hi!
Since v1.0.811 (SDK updated only since v2.11.940), EV_KEY_PRESS event has been added to the SDK, so you can add a statement that checks for this event and calls a routine where you can parse the key pressed.
At this time you can show up the GUI, or you can add the visualization of the GUI at the Config or About button pression in BSplayer Plugins preferences page (respectively EV_CONFIG and EV_ABOUT events)

Take a look at C:\Program Files\Webteh\BSplayer\sdk\plugins\bspplg.h file ;)
And for an example on KeyPress and Config calls take a look at C:\Program Files\Webteh\BSplayer\sdk\plugins\C\Sample\samplep lugin.c
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
 

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