View Single Post
Old 12-26-2011, 08:07 AM   #105
UserXYZ
Junior Member
UserXYZ began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle WiFi
Cool my modifications

Hi all.

For my first post, I wanted to give my contribution to this subject, in a form of my modification of parts of this mplayer package.

I have modified control.sh script and mplayer.ini config file to control volume, using 5way "joystick" which I have on Kindle Keyboard.
Ofcourse, if you have another version all you need to do is change keyboard mappings.

Add this to mplayer.ini in launchpad's folder (/mnt/us/launchpad):

# volume
M FW_Up = !/mnt/us/mplayer/control.sh volup
M FW_Down = !/mnt/us/mplayer/control.sh voldn
M M = !/mnt/us/mplayer/control.sh mute

Modified control.sh is in the attachment - rename from control.sh.txt to control.sh and replace in /mnt/us/mplayer on your Kindle.

Works nice for me, albeit a bit clumbersome with UP and DOWN, but I felt it was the logical way and didn't want to mess with regular keys if they are used by something else.
Attached Files
File Type: txt control.sh.txt (1.9 KB, 326 views)
UserXYZ is offline   Reply With Quote