Package lejos.remote.ev3
Class RemoteKeys
- java.lang.Object
-
- lejos.remote.ev3.RemoteKeys
-
-
Field Summary
-
Fields inherited from interface lejos.hardware.Keys
FREQ_SETTING, ID_ALL, ID_DOWN, ID_ENTER, ID_ESCAPE, ID_LEFT, ID_RIGHT, ID_UP, LEN_SETTING, NUM_KEYS, VOL_SETTING
-
-
Constructor Summary
Constructors Constructor Description RemoteKeys(RMIKeys keys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddiscardEvents()intgetButtons()intgetKeyClickLength()intgetKeyClickTone(int key)intgetKeyClickVolume()intreadButtons()voidsetKeyClickLength(int len)voidsetKeyClickTone(int key, int freq)voidsetKeyClickVolume(int vol)intwaitForAnyEvent()intwaitForAnyEvent(int timeout)intwaitForAnyPress()intwaitForAnyPress(int timeout)
-
-
-
Constructor Detail
-
RemoteKeys
public RemoteKeys(RMIKeys keys)
-
-
Method Detail
-
discardEvents
public void discardEvents()
- Specified by:
discardEventsin interfaceKeys
-
waitForAnyEvent
public int waitForAnyEvent()
- Specified by:
waitForAnyEventin interfaceKeys
-
waitForAnyEvent
public int waitForAnyEvent(int timeout)
- Specified by:
waitForAnyEventin interfaceKeys
-
waitForAnyPress
public int waitForAnyPress(int timeout)
- Specified by:
waitForAnyPressin interfaceKeys
-
waitForAnyPress
public int waitForAnyPress()
- Specified by:
waitForAnyPressin interfaceKeys
-
getButtons
public int getButtons()
- Specified by:
getButtonsin interfaceKeys
-
readButtons
public int readButtons()
- Specified by:
readButtonsin interfaceKeys
-
setKeyClickVolume
public void setKeyClickVolume(int vol)
- Specified by:
setKeyClickVolumein interfaceKeys
-
getKeyClickVolume
public int getKeyClickVolume()
- Specified by:
getKeyClickVolumein interfaceKeys
-
setKeyClickLength
public void setKeyClickLength(int len)
- Specified by:
setKeyClickLengthin interfaceKeys
-
getKeyClickLength
public int getKeyClickLength()
- Specified by:
getKeyClickLengthin interfaceKeys
-
setKeyClickTone
public void setKeyClickTone(int key, int freq)- Specified by:
setKeyClickTonein interfaceKeys
-
getKeyClickTone
public int getKeyClickTone(int key)
- Specified by:
getKeyClickTonein interfaceKeys
-
-