All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lejos.remote.ev3.RMIKeys Maven / Gradle / Ivy

Go to download

leJOS (pronounced like the Spanish word "lejos" for "far") is a tiny Java Virtual Machine. In 2013 it was ported to the LEGO EV3 brick.

The newest version!
package lejos.remote.ev3;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface RMIKeys extends Remote {
	
	public void discardEvents() throws RemoteException;
	
	public int waitForAnyEvent() throws RemoteException;
	
	public int waitForAnyEvent(int timeout) throws RemoteException;
	
	public int waitForAnyPress(int timeout) throws RemoteException;
	
	public int waitForAnyPress() throws RemoteException;
	
	public int getButtons() throws RemoteException;
	
	public int readButtons() throws RemoteException;
	
	public void setKeyClickVolume(int vol) throws RemoteException;
	
	public int getKeyClickVolume() throws RemoteException;
	
	public void setKeyClickLength(int len) throws RemoteException;
	
	public int getKeyClickLength() throws RemoteException;
	
	public void setKeyClickTone(int key, int freq) throws RemoteException;
	
	public int getKeyClickTone(int key) throws RemoteException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy