btuduri / palibds

Automatically exported from code.google.com/p/palibds
0 stars 0 forks source link

PA_SetKeyboardColor not working in 080823 #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What area(s) of the source will need to be altered?
PA_Keyboard.c and PA_Keyboard.h

What steps will reproduce the problem?
Compiling the Input\Keyboard\Keyboard and Input\Keyboard\KeyboardCustom
examples and running them.

What is the expected output? What do you see instead?
You would expect the keyboard to change colours by pressing A, B, X or Y,
but instead the colours remain the same at all times.

What version of PAlib are you using?
080823.

Testing on DS or emulator?
Both DS and emulators.

Please provide any additional information below.
Besides fixing the colour bug, I intend to change the way the function
works, to allow for more colours being used.

Original issue reported on code.google.com by TheOrigi...@hotmail.com on 5 Nov 2008 at 1:19

GoogleCodeExporter commented 9 years ago
I cannot completely reproduce that behavior.
The normal keyboard changes colors, though the green part from the last color
combination PA_SetKeyboardColor(0, 2) (blue/green) doesn't seem to work.

The custom keyboard does not change colors, nor does it highlight the touched 
key. I
haven't gone into palettes and this stuff, so I can't say if that's even 
possible.

Original comment by gronau.o...@gmail.com on 9 Nov 2008 at 3:37

GoogleCodeExporter commented 9 years ago
Yes, that was a fault on my part. For whatever reason I couldn't get it working
before, but after reinstalling different versions of PAlib to find out when the 
bug
occured, I could suddenly get it working on all versions.

I will keep the issue up though, partially because I'd like to add more colours 
as
stated, but also to fix the custom keyboard and PA_SetKeyboardColor(0, 2).

Original comment by TheOrigi...@hotmail.com on 9 Nov 2008 at 6:17

GoogleCodeExporter commented 9 years ago
The portion of this function that doesn't work for me is the 
PA_SetKeyboardColor(1 or
2,0).  The pressed color of blue doesn't show up on any of the main colors of
keyboard.  For example,
(1 , 0)
Red, Blue = Red Keyboard with no pressed color
(2   , 0)
Green, Blue = Green Keyboard with no pressed color
Obviously, it won't show up on the blue keyboard; they're the same color, but 
the red
and green pressed colors work with my project (DSe Notepad), no problem.

Original comment by td9...@gmail.com on 12 Dec 2008 at 10:23