maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Brainstorm (https://talk.maemo.org/forumdisplay.php?f=47)
-   -   [Suggestion] Long press volume button to skip songs in mediaplyer (https://talk.maemo.org/showthread.php?t=67902)

int_ua 2012-02-18 09:02

Re: [Suggestion] Long press volume button to skip songs in mediaplyer
 
Volume buttons on N900 are just F7/F8 buttons. Maybe we can do something with keymap...

GrimyHR 2012-02-18 09:27

Re: [Suggestion] Long press volume button to skip songs in mediaplyer
 
this is the main reason im using some player for listening to music....when screen is locked the volume rocker serves as a next/previous button, when its unlocked it controls volume

vi_ 2012-02-18 10:10

Re: [Suggestion] Long press volume button to skip songs in mediaplyer
 
Quote:

Originally Posted by matagyula (Post 1166474)
...It doesn't work if the screen is locked...


Code:

sudo chmod 666 /sys/devices/platform/gpio-switch/cam_focus/disable
sudo echo 0 > /sys/devices/platform/gpio-switch/cam_focus/disable
sudo chmod 444 /sys/devices/platform/gpio-switch/cam_focus/disable

Now it does.

matagyula 2012-02-18 16:13

Re: [Suggestion] Long press volume button to skip songs in mediaplyer
 
Thanks for both of your solutions, I'll stick with GrimyHRs one because it's almost what I wanted :P

ujwalsoni 2012-04-17 13:59

Re: [Suggestion] Long press volume button to skip songs in mediaplyer
 
Someone planning to port this to meego?

Sourav.dubey 2012-04-19 04:33

Re: [Suggestion] Long press volume button to skip songs in mediaplyer
 
Quote:

Originally Posted by vi_ (Post 1166492)
Code:

sudo chmod 666 /sys/devices/platform/gpio-switch/cam_focus/disable
sudo echo 0 > /sys/devices/platform/gpio-switch/cam_focus/disable
sudo chmod 444 /sys/devices/platform/gpio-switch/cam_focus/disable

Now it does.

sorry to hijack this thread

but @ vi can you give the shortcut command line so as to receive phone call using camera key

its really annoying to receive calls by touching the screen

dsawhney 2012-04-19 04:54

Re: [Suggestion] Long press volume button to skip songs in mediaplyer
 
Quote:

Originally Posted by ujwalsoni (Post 1193259)
Someone planning to port this to meego?

This already exists for meego - https://projects.developer.nokia.com/mediakeys

smatkovi 2017-06-09 07:33

Re: [Suggestion] Long press volume button to skip songs in mediaplyer
 
you can use n9-button-monitor and configure it like this :)


All times are GMT. The time now is 15:53.

vBulletin® Version 3.8.8