NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 71 72 73 74 75 … 93 Next »
BleepBloop

 
  • 0 Vote(s) - 0 Average
BleepBloop
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#1
2005-04-10, 08:57 PM
Okay, you either love them or you hate them, but here is a plugin that will add navigation and selection sounds to GBPVR. I did this mainly as a proof of concept for a future plugin.

If you install this plugin you will gain the following:

Left, Right, Up, Down arrows will play a movement sound.
Return will play a selection sound
Home will play a Cancel sound.

Included with the package are three default sounds, plus some alternative sounds.

This will probably not work on the MVP as I just output the sounds to the default sound driver for the PC.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#2
2005-04-10, 09:09 PM
well i love it Smile
could you expand it thou? add a sound for back, and a sound for every button and standard sound for undefined buttons ?(eg for "TV" "Guide" etc, "TV" can take some time to enter).
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#3
2005-04-10, 10:42 PM
I'll work on making it more configurable in the future. For now I just wanted to see if it could be done. Probably won't get to it until next weekend, mainly because I'm going out of town next week for business.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#4
2005-04-11, 01:34 AM
Tipstir, I've already got that implemented for the next version....Reven, are you talking about the F1, F2, F3, F4 function keys and how they map to TV Guide, TV, etc?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#5
2005-04-11, 01:56 AM
yeah a sound for F1, F2 etc also for play/pause/stop the color buttons, every possible button. possible have a xml configuration file which you assign sounds to the buttons
<Key="{crtl}{f4}" sound="quit.wav"/>
or something. also a default sound so if you push a button not recognised it also does a sound (of course it should be possible to turn this off).
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#6
2005-04-11, 02:26 AM
Actually don't really even need a Configuratin file. The way I have it setup if the file it is expecting isn't there, it just doesn't play a file. I'll work on getting the most common keys added, and a list of what they map to. That way, if you want the same sound to go to the same key, all you have to do is copy the file over and rename it. I'll look into doing a configuration file later.

I'll shoot for another release this coming weekend, but it may slip with travel.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#7
2005-04-11, 03:20 AM
Proposed mapping for other buttons:

Left, Right, Up, Down:
GBPVR_MOVE_SND = move.wav

Return/Enter
GBPVR_SELECT_SND = select.wav

Home:
GBPVR_CANCEL_SND = cancel.wav

System Startup:
GBPVR_START_SND = startup.wav

Other Buttons and Functions:
GBPVR_PLAY_SND = play.wav
GBPVR_STOP_SND = stop.wav
GBPVR_FF_SND = fastforward.wav
GBPVR_RR_SND = rewind.wav
GBPVR_PAUSE_SND = pause.wav
GBPVR_BLUEB_SND = bluebutton.wav
GBPVR_YELLOWB_SND = yellowbutton.wav
GBPVR_GREENB_SND = greenbutton.wav
GBPVR_NONAME_SND = noname.wav
GBPVR_VOLUP_SND = volup.wav
GBPVR_VOLDOWN_SND = voldown.wav

(F1) GBPVR_TV_SND = tv.wav
(F2) GBPVR_LIVETV_SND = livetv.wav
(F3) GBPVR_VIDEOS_SND = videos.wav
(F4) GBPVR_MUSIC_SND = music.wav
(F5) GBPVR_RADIO_SND = radio.wav

I doubt that I change the filenames for these functions. These map to the most common keyboard commands found on the Wiki. I'm missing the keyboard command for the RED button (I think there is a red button). If you happen to know what it is, then please let me know and I'll include it in the next update. Also, a note for skin designers, you don't have to include all these in order for this plugin to work, if a file it is expecting is missing, it just ignores it and doesn't play a sound for that function. I wanted to get the above list out so that you can design appropriately.
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#8
2005-04-11, 04:34 AM
Are you catching the keystrokes through the GBPVR API or directly from Windows?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#9
2005-04-11, 05:00 AM
red is the same as rewind ie {ctrl}r
can you make one for "go" aswell, i use that button a lot in my plugins.
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#10
2005-04-11, 05:33 AM (This post was last modified: 2005-04-11, 06:49 AM by darrin75.)
i wish this would work for the mvp, anyway good job i like this Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 1 2 3 4 5 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode