Back to project page HexNanoController_Android.
The source code is released under:
Code license GNU GPL v2 http://www.gnu.org/licenses/gpl.html Content license CC BY-NC-SA 4.0 http://creativecommons.org/licenses/by-nc-sa/4.0/
If you think the Android project HexNanoController_Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * AcceleroJoystick//w w w .j a va 2 s . c om * * Created on: May 26, 2011 * Author: Dmytro Baryskyy */ package com.hexairbot.hexmini.ui.joystick; import android.content.Context; import com.hexairbot.hexmini.R; public class AcceleratorJoystick extends JoystickBase { public AcceleratorJoystick(Context context, Align align, boolean isRollPitchJoystick, boolean yStickIsBounced) { super(context, align, isRollPitchJoystick, yStickIsBounced); } @Override protected int getBackgroundDrawableId() { return R.drawable.joystick_bg2; } @Override protected int getTumbDrawableId() { return R.drawable.joystick_rudder_throttle; } @Override protected void onActionMove(float x, float y) { } }