The button should act as 'keypresses' it's a matter of knowing the keycode, the joysticks I believe return a motionEvent. This may require a new lib. I'm not 100% sure, but I seem to remember a conversation before about using game controllers in b4a. The Shield should act as any other game controller.