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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user