Sixthhokage2 / ohboy

Automatically exported from code.google.com/p/ohboy
GNU General Public License v2.0
0 stars 1 forks source link

Caanoo Analog Patch for /main.c #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This doesn't solve the issue with menu controls in Caanoo, but reduces it quite 
a lot...

BTW, when ingame, it doesn't use this input code. (for example, i can mess up 
this code, but when ingame the controls will be fine)
And when ingame, it has no "overscrolling" problems like in the menu. 
It's strange, because i've looked for the other code, but haven't found it...

Original issue reported on code.google.com by hiban1...@gmail.com on 20 Aug 2011 at 10:02

Attachments:

GoogleCodeExporter commented 9 years ago
This implies that the Caanoo port uses a different code path. Take a look at 
mainc:1048 you may find something. The Caanoo port is kinda' dirty it would be 
much better to use the plain SDL interface. It isn't clear if SDL on the Caanoo 
doesn't work or whether the original GP porter (pre Caanoo) was missing a 
complete SDL port.

It is probably worth removing all the Caanoo hardware button/D-pad code and 
trying to use the plain SDL port. A good way to test this out would be to build 
gnuboy without OhBoy and seeing how that behaves.

I'm very happy to apply this patch as it only impacts GP devices if you like 
(let me know), but if you have an interest in really fixing this I think a 100% 
SDL port (for IO) is the way to go.

Original comment by clac...@gmail.com on 20 Aug 2011 at 10:42