// Path: aLynx/src/com/rock88dev/alynx/ALynxSetting.java
// public static class Rect {
// 	Rect(int x, int y, int w, int h){
// 		this.x=x;
// 		this.y=y;
// 		this.w=w;
// 		this.h=h;
// 		}
// 	Rect(int x, int y){
// 		this.x=x;
// 		this.y=y;
// 		this.w=64;
// 		this.h=64;
// 		}
// 	public int x,y,w,h;
// 	}


import com.rock88dev.alynx.ALynxSetting.Rect;
import android.os.Vibrator;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;

/** aLynx - Atari Lynx emulator for Android OS
 * 
 * Copyright (C) 2012
 * @author: rock88
 * 
 * e-mail: rock88a@gmail.com
 * 
 * http://rock88dev.blogspot.com
 * 
 */

package com.rock88dev.alynx;


public class ALynxInput {
	public static Vibrator vibrator;
	public static int vibrator_enable = 0;
	public static final int ACTION_POINTER_INDEX_MASK  = 0xff00;
    public static final int ACTION_POINTER_INDEX_SHIFT = 8;
	public static int size = 1, pad_no = 1;
	
	private static final int 	PAD_UP=0,
								PAD_DOWN=1,
								PAD_LEFT=2,
								PAD_RIGHT=3,
								PAD_A=4,
								PAD_B=5,
								PAD_OPT1=6,
								PAD_OPT2=7,
								PAD_PAUSE=8,
								PAD_UP_LEFT=9,
								PAD_UP_RIGHT=10,
								PAD_DOWN_LEFT=11,
								PAD_DOWN_RIGHT=12;
						
	

// Path: aLynx/src/com/rock88dev/alynx/ALynxSetting.java
// public static class Rect {
// 	Rect(int x, int y, int w, int h){
// 		this.x=x;
// 		this.y=y;
// 		this.w=w;
// 		this.h=h;
// 		}
// 	Rect(int x, int y){
// 		this.x=x;
// 		this.y=y;
// 		this.w=64;
// 		this.h=64;
// 		}
// 	public int x,y,w,h;
// 	}


// Path: aLynx/src/com/rock88dev/alynx/ALynxInput.java
import com.rock88dev.alynx.ALynxSetting.Rect;
import android.os.Vibrator;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;

/** aLynx - Atari Lynx emulator for Android OS
 * 
 * Copyright (C) 2012
 * @author: rock88
 * 
 * e-mail: rock88a@gmail.com
 * 
 * http://rock88dev.blogspot.com
 * 
 */

package com.rock88dev.alynx;


public class ALynxInput {
	public static Vibrator vibrator;
	public static int vibrator_enable = 0;
	public static final int ACTION_POINTER_INDEX_MASK  = 0xff00;
    public static final int ACTION_POINTER_INDEX_SHIFT = 8;
	public static int size = 1, pad_no = 1;
	
	private static final int 	PAD_UP=0,
								PAD_DOWN=1,
								PAD_LEFT=2,
								PAD_RIGHT=3,
								PAD_A=4,
								PAD_B=5,
								PAD_OPT1=6,
								PAD_OPT2=7,
								PAD_PAUSE=8,
								PAD_UP_LEFT=9,
								PAD_UP_RIGHT=10,
								PAD_DOWN_LEFT=11,
								PAD_DOWN_RIGHT=12;
						
	

	private static Rect[] rect = new Rect[13];
