Author Topic: Xmms, Jog Wheel, Sl-c1000\c3100  (Read 3588 times)

sandmansandine

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://
Xmms, Jog Wheel, Sl-c1000\c3100
« on: September 12, 2005, 02:05:28 am »
I would love it if i could control XMMS using the Jog Wheel for Forward/Back for the tracks, and OK and CANCEL as Play/Stop. There was a post from a while ago (Old Post) on the board about creating a wrapper, but that never worked for me on my SL-C1000, and i followed the instructions religiously, i'm runing RC11 now.
« Last Edit: September 12, 2005, 02:08:38 am by sandmansandine »
SL-5500 [Old]
SL-C1000 [Current] Beta 3
Linksys WCF12 Wifi, Planex GW-CF11X
PNY 1gb SD
Lexar 512mb, and 256mb CF

F_Sake

  • Newbie
  • *
  • Posts: 21
    • View Profile
Xmms, Jog Wheel, Sl-c1000\c3100
« Reply #1 on: September 12, 2005, 09:21:56 am »
Quote
I would love it if i could control XMMS using the Jog Wheel for Forward/Back for the tracks, and OK and CANCEL as Play/Stop. There was a post from a while ago (Old Post) on the board about creating a wrapper, but that never worked for me on my SL-C1000, and i followed the instructions religiously, i'm runing RC11 now.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95479\"][{POST_SNAPBACK}][/a][/div]

It does work, just make sure you have clicked inside the playlist box before you close the lid. then jog up and down scrolls through the tracks and ok will play the track you wish.
SL-C1000 running pdaXrom RC11
1Gb Kingston CF card
256Mb PNY SD card
LA4100 Spectrum24 CF WLAN card
Blue Monkey Bluetooth CF card

sandmansandine

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://
Xmms, Jog Wheel, Sl-c1000\c3100
« Reply #2 on: September 12, 2005, 10:05:56 pm »
But is it posible to just use the up and down on teh jog wheel and just have it play the next track, without having to press the OK button, because scrolling through the songs with the screen off seems not only useless but pointless, i just want it to go straight on and play the next track
SL-5500 [Old]
SL-C1000 [Current] Beta 3
Linksys WCF12 Wifi, Planex GW-CF11X
PNY 1gb SD
Lexar 512mb, and 256mb CF

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Xmms, Jog Wheel, Sl-c1000\c3100
« Reply #3 on: September 13, 2005, 07:37:31 am »
Have you tried the Screen Blanker applet?  It should come with the default install of pdaXrom.  When in blanking mode it can control XMMS with play/pause (OK), stop (Cancel) and skip tracks (jog wheel).  If it doesn't work on the Cxx00 please let me know as the key codes may be different to the Cx00 series.
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

danr

  • Full Member
  • ***
  • Posts: 138
    • View Profile
    • http://
Xmms, Jog Wheel, Sl-c1000\c3100
« Reply #4 on: July 06, 2006, 11:02:32 am »
Quote
But is it posible to just use the up and down on teh jog wheel and just have it play the next track, without having to press the OK button, because scrolling through the songs with the screen off seems not only useless but pointless, i just want it to go straight on and play the next track
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I'm resurrecting this old post because I've found a way of controlling XMMS with the jog wheel and neighbouring buttons, without the need to have XMMS focused.

Firstly I edited /etc/X11/corgi.xmodmap and modified the following lines:

Code: [Select]
keycode 131 = XF86AudioPause
keycode 132 = XF86AudioNext
keycode 133 = XF86AudioRaiseVolume
keycode 134 = XF86AudioLowerVolume

- these are the keycodes for OK, cancel, jog right and jog left on my 860 - you could check this with xev.

But I found that the jog wheel was still producing events for up and down, so I edited /usr/bin/inputconfig.py, and changed

Code: [Select]
 if (self.scrollwheeldir == "updown"):
      output += "keycode 133 = Up\n"
      output += "keycode 134 = Down\n\n"
  else:
...

to
Code: [Select]
 if (self.scrollwheeldir == "updown"):
      output += "keycode 133 = Up\n"
      output += "keycode 134 = Down\n\n"
  else:
      output += "keycode 133 = XF86AudioRaiseVolume\n"
      output += "keycode 134 = XF86AudioLowerVolume\n\n"  

and then ran the script and changed my preferences to jog wheel left/right.

Next, I compiled [a href=\"http://www.devin.com/xmms-xf86audio/]xmms-xf86audio[/url], see attached ipk, and installed it on my system.  This allows you to bind the XF86Audio events to XMMS controls.

Cheers,

Dan
SL-C860 running Debian EABI on top of Angstrom 2.6 kernel

sandmansandine

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://
Xmms, Jog Wheel, Sl-c1000\c3100
« Reply #5 on: July 06, 2006, 08:37:52 pm »
i can't seem to find the keymap file for Beta3, on an Akita, i've looked everywhere i can for now (battery dying/away from home), thank you for finally solving the problem though, that's exactly what i wanted
SL-5500 [Old]
SL-C1000 [Current] Beta 3
Linksys WCF12 Wifi, Planex GW-CF11X
PNY 1gb SD
Lexar 512mb, and 256mb CF

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Xmms, Jog Wheel, Sl-c1000\c3100
« Reply #6 on: July 06, 2006, 10:04:05 pm »
Quote
i can't seem to find the keymap file for Beta3, on an Akita, i've looked everywhere i can for now (battery dying/away from home), thank you for finally solving the problem though, that's exactly what i wanted
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134185\"][{POST_SNAPBACK}][/a][/div]

I actually recompiled xmms with those keys supported natively in xmms itself so you don't need to remap those keys before running xmms and mapping them back.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K