Android Open Source - MachinaMidiJacketSDK Jacket Data






From Project

Back to project page MachinaMidiJacketSDK.

License

The source code is released under:

GNU General Public License

If you think the Android project MachinaMidiJacketSDK 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

//
//  JacketData.java
//  JacketSDK/*from   w ww  . j a  va2  s.  c om*/
//
//  Created by Henry Serrano on 6/20/14.
//  Copyright (c) 2014 Machina Wearable Technology SAPI de CV.
//
//  Permission is hereby granted, free of charge, to any person obtaining a copy
//  of this software and associated documentation files (the "Software"), to deal
//  in the Software without restriction, including without limitation the rights
//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//  copies of the Software, and to permit persons to whom the Software is
//  furnished to do so, subject to the following conditions:
//
//  The above copyright notice and this permission notice shall be included in
//  all copies or substantial portions of the Software.
//
//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//  THE SOFTWARE.
//
package com.machina.jacketsdk;

public class JacketData {
  
  public static final int KERMODE = 0;
  public static final int KERPITCH = 1;
  public static final int KERROLL = 2;
  
  /* Raw sensor values */
  public Integer nerva_gyroX;
  public Integer nerva_gyroY;
  public Integer nerva_gyroZ;
  public Integer nerva_accX;
  public Integer nerva_accY;
  public Integer nerva_accZ;
  public Integer nerva_switch1;
  public Integer nerva_switch2;
  
  public Integer nervb_gyroX;
  public Integer nervb_gyroY;
  public Integer nervb_gyroZ;
  public Integer nervb_accX;
  public Integer nervb_accY;
  public Integer nervb_accZ;
  public Integer nervb_switch1;
  public Integer nervb_switch2;
  
  public Integer drumpad;

  public Integer membrane;
  
  /* Filtered values */
  public Integer nerva_pitch;
  public Integer nerva_roll;
  
  public Integer nervb_pitch;
  public Integer nervb_roll;
  
  /* Mode */
  public Integer mode;
}




Java Source Code List

com.machina.jacketsdk.JacketData.java
com.machina.jacketsdk.JacketOSCServerListener.java
com.machina.jacketsdk.JacketOSCServer.java
com.machina.jacketsdk.OSCMessage.java
com.machina.jacketsdk.OSCParser.java