001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.hal; 006 007public class AccelerometerJNI extends JNIWrapper { 008 public static native void setAccelerometerActive(boolean active); 009 010 public static native void setAccelerometerRange(int range); 011 012 public static native double getAccelerometerX(); 013 014 public static native double getAccelerometerY(); 015 016 public static native double getAccelerometerZ(); 017}