Rockbox Development > New Ports

SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2

<< < (118/386) > >>

kugel.:

--- Quote from: sko on January 10, 2009, 11:32:34 AM ---The Hold button seems to be recognized, but isn't working as expected: if hold is on the lock-icon on the status bar is flashing (together with the backlight) sometimes if I press a key / scroll the wheel.

--- End quote ---
Ah so it's at least recognized. That's different from what domonoky reported when he tried this code first.

sko:

--- Quote from: kugel. on January 10, 2009, 11:33:47 AM ---Ah so it's at least recognized. That's different from what domonoky reported when he tried this code first.

--- End quote ---
I also changed the line

--- Code: ---if (queue_empty(&button_queue) && ++counter >= 4)
--- End code ---
to

--- Code: ---if (queue_empty(&button_queue) && ++counter >= 8)
--- End code ---
but now I tried with the old line too and it is the same behavior (just a bit faster if using the wheel).

Edit: but how can I test the REC button? What should happen if I press it?

kugel.:
Try printing/logging the values DBOP_DIN gives.

FlynDice:
Maybe someone more familiar can make use of this quicker than I can.  Thanks to the diff that sko posted I was able to get into the plugins and games.  I found in the Blackjack game that I was able to reliably and precisely use the scrollwheel to control my bet increment (by 10's).  I had to use the >> button to increment by 1 first but after that I could increment up, down and stop where I wanted.  I also found that it seems with this patch the scrollwheel is more of an enabler.  What I mean by that is that in trying to navigate the menus both the >> and << buttons seem to do the moving if you start the scrollwheel first and then press one of those buttons.  I've seen the small lock icon flip open and closed with the hold switch also but cannot reliably duplicate the behavior.  The REC button has eluded any noticeable effects in my playing around.

I've also found that in rockpaint, oscilloscope, mandelbrot, bubbles, sudoku, and plasma  that putting the hold switch on turns the backlight off while switching it off turns the backlight back on(the screen is still displaying...).

Also in the sudoku game I can use the scrollwheel to scroll numbers into the boxes under complete control.

sko:

--- Quote from: FlynDice on January 10, 2009, 06:18:35 PM ---I've also found that in rockpaint, oscilloscope, mandelbrot, and plasma  that putting the hold switch on turns the screen off while switching it off turns the screen back on.

--- End quote ---
Same in the time & date screen (System > Time & Date).


--- Quote from: kugel. on January 10, 2009, 02:25:07 PM ---Try printing/logging the values DBOP_DIN gives.

--- End quote ---
How can I do this? I tried printf and DEBUGF, but both didn't compile. Is there a missing include? I'm not very familar with C, usually I write applications in Delphi.

Edit: I tested blackjack now, and it is working as FlynDice wrote: the wheel is reliable there.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version