Buttons in portrait orientation?

35 views
Skip to first unread message

vgpla...@hotmail.com

unread,
Feb 18, 2013, 6:18:02 PM2/18/13
to candy-apple...@googlegroups.com
Not sure if this is a bug report or I have a setting wrong, but no buttons appear in portrait mode. In landscape mode they show up fine.

Also, how can you remap bluetooth controller buttons to different joystick buttons, or to keyboard strokes? I am using a wiimote, and would like to be able to use it horizontally when I don't have the nunchuk attached.

Candy Apple version 1.66
Nexus 7
running Android 4.1.2

Thanks!

Garnet Ulrich

unread,
Feb 20, 2013, 5:44:23 AM2/20/13
to candy-apple...@googlegroups.com

Try sliding the buttons sideways in portrait mode.  Maybe the buttons are hidden.  There are three sets of buttons available to provide lots of keys for complicated games.
Unfortunately, there is no provision to remap the Wii controller to keystrokes.  It has a fixed function as a joystick and the buttons are mapped accordingly.  I'll mark down your suggestion for remapping of the Bluetooth controller to keystrokes.
I use candy apple on my nexus 7 and it works OK so we should be able to get some buttons going for you in portrait mode.
Garnet

--
You received this message because you are subscribed to the Google Groups "cAndy Apple Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to candy-apple-user-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

vgpla...@hotmail.com

unread,
Feb 20, 2013, 6:36:36 PM2/20/13
to candy-apple...@googlegroups.com
Thanks for responding,

I had already tried sliding, and I get the 4 blank areas on the bottom (black, blue, green, red) but no buttons are on them at all. When i have onscreen joystick turned on, the onscreen joystick shows up in the black area, but the blue green and red are still blank.

I tried uninstalling and reinstalling the app, and the buttons in portrait don't show up. and I tried moving the files in:

/sdcard/candyapple/db

candyapple.sqlite
and
candyapple.sqlite-journal

to a subfolder in /sdcard called old, and the portrait button area is still blank.

Where are button layouts saved? The only other thing I can think of is that some saved settings somewhere weren't saved correctly. The landscape buttons still show up, for whatever reason. I don't think their configuration is saved in /sdcard/candyapple/db

What else can I delete / move / fiddle with to get the portait buttons to show up?

Garnet Ulrich

unread,
Feb 20, 2013, 10:05:33 PM2/20/13
to candy-apple...@googlegroups.com

Are you able to map some buttons in the portrait mode?  Could it be that there are just no buttons mapped there right now?  If you can map some, do they still show up when candy apple is restarted?  The portrait and landscape buttons are stored per diskette in the same sqlite database.  Additionally, the most recent button mappings are stored in android preferences.  BTW, the landscape and portrait buttons are not linked in any way so it is possible to have some buttons mapped in landscape and not in portrait.
Please let me know if you are unable to map any buttons in portrait mode.
Garnet

--

vgpla...@hotmail.com

unread,
Feb 22, 2013, 2:53:05 AM2/22/13
to candy-apple...@googlegroups.com
Nope, I am unable to map any buttons in portrait mode. I go to button config in candyapple, and all that is there is a blank area without even blank buttons to map. I tried restarting candy apple, even mapped and unmapped a few landscape buttons. The landscape buttons stay and load just fine, but still no keyboard buttons show up in portrait, except of course for the previously mentioned onscreen joystick.


> The portrait and landscape buttons are stored per diskette in the same sqlite database.  Additionally, the most recent button mappings are stored in android preferences.

Where precisely are those preferences stored? Multiple places or just one place?
So far I have found some in:
/data/user/0/com.zerohoh.candyapple/shared_prefs/
and in
/data/data/com.zerohoh.candyapple/shared_prefs/
and in
/sdcard/candyapple/db/

What text would I expect to see in which file(s) when there are properly mapped portrait buttons present?

Garnet Ulrich

unread,
Feb 22, 2013, 5:49:00 AM2/22/13
to candy-apple...@googlegroups.com

The Android OS decides what file the prefs are stored in so I can't guess which one is active for you right now.  It has been a while since I coded that but I believe that what is stored is the character as well as the keystroke value.  I could take a look later if we can't get this resolved.
This really sucks that you are having so many problems with these buttons.  I've never seen this problem before.  I'll have to think about what could have gotten us to his state.  If I had this problem I would uninstall and delete the stored SQL database etc. But you've already tried that.  Hmmmm.
Let me think about it some more.
Garnet

--

Garnet Ulrich

unread,
Feb 22, 2013, 6:22:19 AM2/22/13
to candy-apple...@googlegroups.com

OK, I went back to my Nexus 7 and it has the same problem!  I have to go to work :-( but I suspect that it just can't display the buttons for some reason.  This all used to work on the n7 but some upgrade from 4.1 to 4.2 jelly bean must have triggered this issue.  I'll try to fit in some work on this over the weekend.
Sorry you had to find this the hard way.
Garnet

On 22 Feb 2013 05:40, "vgpla...@hotmail.com" <vgpla...@hotmail.com> wrote:
--
Reply all
Reply to author
Forward
0 new messages