X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=nxtOSEK%2Flejos_nxj%2Fdocs%2Fapidocs%2Flejos%2Fnxt%2FButton.html;fp=nxtOSEK%2Flejos_nxj%2Fdocs%2Fapidocs%2Flejos%2Fnxt%2FButton.html;h=902b202f4f328b776f62507d884163fb0fdd746e;hb=02b55ed885bb3a3127d172ffe12a89eef34ef839;hp=a1263a62e02d2a6f35411a24194442dbdf8a21e1;hpb=815664f1648545c25bb41fd4c99117bf488c7735;p=nxt-jsp%2Flejos_nxj.git diff --git a/nxtOSEK/lejos_nxj/docs/apidocs/lejos/nxt/Button.html b/nxtOSEK/lejos_nxj/docs/apidocs/lejos/nxt/Button.html index a1263a6..902b202 100644 --- a/nxtOSEK/lejos_nxj/docs/apidocs/lejos/nxt/Button.html +++ b/nxtOSEK/lejos_nxj/docs/apidocs/lejos/nxt/Button.html @@ -2,7 +2,7 @@
- +static String
VOL_SETTING
+
+static int
getKeyClickLength()
+
+static int
getKeyClickTone(int key)
+
+static int
getKeyClickVolume()
+
+ boolean
isPressed()
@@ -204,6 +236,14 @@ Abstraction for an NXT button.
static void
loadSettings()
+
+static int
readButtons()
@@ -212,6 +252,31 @@ Abstraction for an NXT button.
static void
setKeyClickLength(int len)
+
+static void
setKeyClickTone(int key,
+ int freq)
+
+static void
setKeyClickVolume(int vol)
+
+static int
waitForPress()
@@ -249,6 +314,16 @@ Abstraction for an NXT button.
+public static final String VOL_SETTING+
@@ -437,6 +512,125 @@ public void callListeners()+
+public static void setKeyClickVolume(int vol)+
+
vol
- +public static int getKeyClickVolume()+
+
+public static void setKeyClickLength(int len)+
+
len
- the click duration+public static int getKeyClickLength()+
+
+public static void setKeyClickTone(int key, + int freq)+
+
key
- the NXT keyfreq
- the frequency+public static int getKeyClickTone(int key)+
+
+public static void loadSettings()+
+