Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  button tapping idea for ipods with scrollwheel
« previous next »
  • Print
Pages: [1]

Author Topic: button tapping idea for ipods with scrollwheel  (Read 2665 times)

Offline willemmerson

  • Member
  • *
  • Posts: 20
button tapping idea for ipods with scrollwheel
« on: February 26, 2008, 08:13:26 AM »
In some of the games for the original ipod firmware you can actually control things by 'tapping' the buttons on the ipod, i.e. not actually pressing them down. This means that the play/ffwd/rewind buttons still do what they are supposed to do even while you are in the middle of the game. This got me to thinking that the same thing could be implemented in rockbox, possibly, so for all the menu's, plugins and viewers you use button taps, leaving play/rewind/ffwd always dedicated to playback. You could even make it so the scroll wheel is a dedicated volume control. In theory you are adding twelve more buttons - the four directions and options of single tap, double tap and hold.
I had a quick look to see if someone had had the idea before but couldn't see anything.
I also had a look at the source code and though I could possibly make a plugin as a sort of test but then realised button 'tapping' probably isn't exposed by the API so concluded that it is completely beyond my capabilities.
Logged

zajacattack

  • Guest
Re: button tapping idea for ipods with scrollwheel
« Reply #1 on: February 26, 2008, 10:08:15 AM »
Well, I recall hearing this suggestion over at iPodLinux, but here's the problems:

1) Pressing the button down would also register as a tap, which could easily cause problems.
2) Scrolling on the scroll wheel registers as taps as well.
3) I'm not sure if one could code to make it tell the difference between a "single" and a "double" tap.
Logged

Offline willemmerson

  • Member
  • *
  • Posts: 20
Re: button tapping idea for ipods with scrollwheel
« Reply #2 on: February 26, 2008, 11:08:14 AM »
Yeah, its certainly got its problems but surely not impossible:

1) Pressing the button down would also register as a tap, which could easily cause problems.
Pressing the button down would cause a tap but then a 'button down' event straight after so could be distinguished by this.

2) Scrolling on the scroll wheel registers as taps as well.
Scrolling is only scrolling when the sensors underneath the wheel are triggered one afer the other. If you tap the scroll wheel currently it doesn't cause scrolling.

3) I'm not sure if one could code to make it tell the difference between a "single" and a "double" tap.
Er...there's got to be some way or differentiating this, but its not that important anyway, that was just an extra.

I guess the problem is it needs someone who can program AND is interested in the idea. I have difficulty just making a WPS so thats me out of the equation. I don't even know if rockbox has access to the information from the sensors or whether it just gets a scolling type event.
It would be very cool though, the taps could be user definable so for instance from the WPS you could go straight to the playlist. I just need to go on that crash course in programming, pardon the pun.
Logged

zajacattack

  • Guest
Re: button tapping idea for ipods with scrollwheel
« Reply #3 on: February 26, 2008, 10:20:42 PM »
Yeah, I see what you mean, but then the question is: can all of that be coded and NOT be super sluggish?
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: button tapping idea for ipods with scrollwheel
« Reply #4 on: February 26, 2008, 11:30:39 PM »
Rockboy already uses these "taps". Plugins have complete control over what they do with button events, and I like it this way.  To make this work, you're effectively taking away possible button events that plugins could use.  Some plugins are too CPU-intensive to allow playback to continue while running them.
Logged

zajacattack

  • Guest
Re: button tapping idea for ipods with scrollwheel
« Reply #5 on: February 26, 2008, 11:33:33 PM »
Yeah, unless you have super optimizing powers.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: button tapping idea for ipods with scrollwheel
« Reply #6 on: February 27, 2008, 12:28:27 AM »
Quote from: cool_walking_ on February 26, 2008, 11:30:39 PM
Some plugins are too CPU-intensive to allow playback to continue while running them.

and this relates to the discussion how exactly?

touches are entirely possible (and relativly easy to get working with actions), but I dont own an ipod so dont have any interest in implementing this... if a patch were to appear it would be looked at
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  button tapping idea for ipods with scrollwheel
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.075 seconds with 15 queries.