Android Open Source - HexNanoController_Android Analogue Joystick

From Project

Back to project page HexNanoController_Android.


The source code is released under:

Code license GNU GPL v2 Content license CC 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.

Java Source Code

 * AnalogueJoystick// www .  j av  a 2  s  . co  m
 *  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 AnalogueJoystick 
  extends JoystickBase

  public AnalogueJoystick(Context context, Align align, boolean isRollPitchJoystick, boolean yStickIsBounced) 
    super(context, align, isRollPitchJoystick, yStickIsBounced);
  protected int getBackgroundDrawableId() 
    return R.drawable.joystick_bg;

  protected int getTumbDrawableId() 
    return R.drawable.joystick_rudder_throttle;

Java Source Code List