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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
« previous next »
  • Print
Pages: 1 ... 20 21 [22] 23 24 ... 65

Author Topic: Cowon D2  (Read 636559 times)

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Cowon D2
« Reply #315 on: April 14, 2008, 07:13:31 AM »
I'm not saying something more complex shouldn't be worked on if there's a real place for it in Rockbox, but at the same time, with 12 additional "buttons" from just the vertical and horizontal gestures on a 3x3 grid, you probably run out of features before you run out of jobs.

As for the touchpad driver being too slow, do you mean you're afraid someone might move the stylus too far, and perhaps go from "Top Right" to "Top Left" without it picking up "Top Center" at all?
« Last Edit: April 14, 2008, 07:15:10 AM by Llorean »
Logged

Offline cybergrind

  • Member
  • *
  • Posts: 23
Re: Cowon D2
« Reply #316 on: April 14, 2008, 07:20:52 AM »
why touchscreen driver should work slow?
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Cowon D2
« Reply #317 on: April 14, 2008, 08:03:26 AM »
Quote from: Llorean on April 14, 2008, 07:13:31 AM
As for the touchpad driver being too slow, do you mean you're afraid someone might move the stylus too far, and perhaps go from "Top Right" to "Top Left" without it picking up "Top Center" at all?

yes, well no... umm... how it works on the mr500 is that touchscreen stores each press as they come in, but the actual button driver doesnt poll very often (realtivly), in combination with cpu speed and threading I'm not sure how reliable it will be.. but remember, this is all without doing any testing on either target so I could be wrong.
Logged


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

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Cowon D2
« Reply #318 on: April 14, 2008, 09:04:51 AM »
woo :D it works...
the touchscreens now have 21 "buttons" :p

so now lets drop this subject and just deicde if we want this code in or not... we can discuss how to use the buttons in another thread
Logged


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

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #319 on: April 14, 2008, 09:34:34 AM »
I haven't had time to have a proper read of the code, but if it works I say get it in and tweak later, if necessary.

I spent yesterday attempting to get some sound out of the D2 (unsuccessfully), but I might hold off that for a while and get the touchpad working first.

If the button driver is going to be polling the touchscreen, I needn't worry about having the pen-down event driven from an interrupt. Which is handy, as it doesn't seem to be too reliable. :-\
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Cowon D2
« Reply #320 on: April 14, 2008, 09:43:02 AM »
.. sound is more important :p

the button driver calls button_read_device() and yeah when the mr500 port started we were polling the touchpad directly from it, works much better using an interrupt and storing the last press value somewhere and just returning that in button_read_device()
Logged


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

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Cowon D2
« Reply #321 on: April 14, 2008, 10:57:20 AM »
very minor update... this has scrolling gestrures which dont work so well if you stop/start in the middle... I'll probably comment them out when its commited though...
* touchpad.diff.txt (23.28 kB - downloaded 235 times.)
Logged


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

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Cowon D2
« Reply #322 on: April 15, 2008, 06:37:43 AM »
ok, commited... hope I havnt mangled your local tree too much :) I'll start a thread in UI for discussion on how to actually use the extra buttons.

OH crap... forgot to mention I changed the sim buttons... kp-/+ for -/+... kp_enter for menu and escape for power...
Logged


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

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #323 on: April 15, 2008, 07:19:26 AM »
Hmmm - maybe I should have held off enabling plugin building... someone's got a large search-n-replace exercise to do now. ;)

I'll have a go at getting the touchpad working later, but it'll probably only be a quick hack as it turns out I don't have much free time this week after all.

(btw. your sim keymappings seem far more logical than the mess I made first time around...)
Logged

Offline andiator

  • Member
  • *
  • Posts: 44
Re: Cowon D2
« Reply #324 on: April 19, 2008, 07:00:49 AM »
Hey, I can do this "search-n-replace" stuff! What exactly have to be changed?
Logged
D2 8Gb + 128Gb µSD

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #325 on: April 19, 2008, 08:43:02 AM »
I've re-opened FS#8708 with a few comments about how I think the plugin button definitions should be implemented.

EDIT: ..and I've added a patch to it as well, which should let you experiment with the touchpad on the device. It's not perfect yet (far from it) but it does mean some more of the games are playable - eg. jewels, brickmania etc.
« Last Edit: April 20, 2008, 04:07:39 PM by shotofadds »
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #326 on: April 22, 2008, 08:03:32 AM »
* shotofadds wonders if anybody tried that touchscreen patch, it's awfully quiet in here...

EDIT:
* shotofadds should really learn to type :-\
« Last Edit: April 22, 2008, 01:45:00 PM by shotofadds »
Logged

Offline Shady

  • Member
  • *
  • Posts: 7
Re: Cowon D2
« Reply #327 on: April 22, 2008, 01:18:52 PM »
Could you post here a link to rockbox.zip?
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #328 on: April 22, 2008, 01:43:50 PM »
Shady, there's a link to the "bleeding edge" build zip on page 17 of this very thread (reply #249). That means it'll be automatically rebuilt whenever the SVN code changes. However, it doesn't include the touchscreen changes yet.

EDIT: I'll add a link to the wiki page shortly. (it's there now).
« Last Edit: April 22, 2008, 02:42:22 PM by shotofadds »
Logged

Offline stel

  • Member
  • *
  • Posts: 7
Re: Cowon D2
« Reply #329 on: April 22, 2008, 02:31:18 PM »
shotofadds, I've just applied the patch. Initial tests tell me its working fine in the menus so far. Sometimes its a bit jumpy (might be I'm catching the wrong button sometimes). I'm just trying some of the plugins now.
Logged

  • Print
Pages: 1 ... 20 21 [22] 23 24 ... 65
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
 

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

Page created in 0.114 seconds with 14 queries.