mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
key value not setting properly on Android (issue #1254)
This commit is contained in:
@@ -2409,6 +2409,10 @@ public class PApplet extends Activity implements PConstants, Runnable {
|
||||
|
||||
|
||||
protected void handleKeyEvent(KeyEvent event) {
|
||||
keyEvent = event;
|
||||
key = event.getKey();
|
||||
keyCode = event.getKeyCode();
|
||||
|
||||
switch (event.getAction()) {
|
||||
case KeyEvent.PRESSED:
|
||||
keyPressed = true;
|
||||
|
||||
+3
-2
@@ -1,7 +1,8 @@
|
||||
0212 android
|
||||
X key value is not set in android mode
|
||||
X http://code.google.com/p/processing/issues/detail?id=1254
|
||||
|
||||
|
||||
_ key value is not set in android mode
|
||||
_ http://code.google.com/p/processing/issues/detail?id=1254
|
||||
_ hue() in HSB mode returns out of range values
|
||||
_ http://code.google.com/p/processing/issues/detail?id=1257
|
||||
|
||||
|
||||
@@ -10382,7 +10382,7 @@ public class PApplet extends Applet
|
||||
* Description to come...
|
||||
*
|
||||
* ( end auto-generated from textureWrap.xml )
|
||||
*
|
||||
*
|
||||
* @webref image:textures
|
||||
* @param wrap Either CLAMP (default) or REPEAT
|
||||
*/
|
||||
@@ -10551,7 +10551,7 @@ public class PApplet extends Applet
|
||||
* This is a new reference entry for Processing 2.0. It will be updated shortly.
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
*
|
||||
* @webref Rendering
|
||||
* @param mode the blending mode to use
|
||||
*/
|
||||
@@ -10595,7 +10595,7 @@ public class PApplet extends Applet
|
||||
* This is a new reference entry for Processing 2.0. It will be updated shortly.
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
*
|
||||
* @webref rendering:shaders
|
||||
* @param fragFilename name of fragment shader file
|
||||
*/
|
||||
@@ -10618,7 +10618,7 @@ public class PApplet extends Applet
|
||||
* This is a new reference entry for Processing 2.0. It will be updated shortly.
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
*
|
||||
* @webref rendering:shaders
|
||||
* @param shader name of shader file
|
||||
*/
|
||||
@@ -10643,7 +10643,7 @@ public class PApplet extends Applet
|
||||
* This is a new reference entry for Processing 2.0. It will be updated shortly.
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
*
|
||||
* @webref rendering:shaders
|
||||
*/
|
||||
public void resetShader() {
|
||||
@@ -11524,9 +11524,9 @@ public class PApplet extends Applet
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param level either 2, 4, or 8
|
||||
*/
|
||||
*/
|
||||
public void smooth(int level) {
|
||||
if (recorder != null) recorder.smooth(level);
|
||||
g.smooth(level);
|
||||
|
||||
@@ -9,6 +9,8 @@ A http://code.google.com/p/processing/issues/detail?id=1303
|
||||
_ problems running on OS X with recent updates
|
||||
_ also that missing semicolon on first line just produces "null" as the error
|
||||
_ http://code.google.com/p/processing/issues/detail?id=1312
|
||||
_ seems that 1.7 is now the default, and no 32-bit option is available (!@#$)
|
||||
_ but the 32-bit JVM for 1.6 seems to still be installed
|
||||
|
||||
. . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user