Postby vputz » September 28 2010, 18:51 PM
Excellent! I'm so glad it worked; we're now on the third batch of these (just sent the word for a third batch) and so far they've been working pretty well. You CAN remap the axes to "horizontal mode" but I am in a bit of limbo at the moment because I've just moved back from the UK and am living out of suitcases without orb (or proper computer) for a few weeks.
Looking at the project page, for keyboard control, try loading up the WASD sketch, but add something like
[code]const PROGMEM Fourway_keyboard_binding WASD_fourway_edgemode_binding = { 2, 1, KEY_S, KEY_W, KEY_D, KEY_A, 75*75 };
...and in initialization...
translator.set_fourway_bindings( WASD_fourway_edgemode_binding, 4 ); [/code]
Or something like that..modify the WASD sketch and see what happens.
You just want to change the first two numbers; I think instead of "0, 1" you want "2, 1" like I wrote above, but you may have to play around a bit. To do this in joystick mode... I don't remember at the moment! Looking at the source, something like
[code]const PROGMEM unsigned char Axis_map_spaceorb_edge[]= {0,1,2,3,4,5};
...other code, then during initialization...
translator.set_axis_map( Axis_map_spaceorb_edge );[/code]
Sorry I can't verify more from here! Podcast sounds fun; you can shoot me an email (will send a pm). May be a while until I have a good setup at this end, but not too long.