1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-18 05:41:10 +00:00

Merge branch 'master' into add-FabLab

This commit is contained in:
Rémi Heredero
2022-06-17 08:56:31 +02:00
committed by GitHub
8 changed files with 46 additions and 47 deletions

View File

@ -22,7 +22,7 @@ public class PokeMudry extends PortableApplication {
private long beginTime;
private long lastMesure;
public static boolean front_montant = false;
public static boolean risingFront = false;
public static void main(String[] args) {
@ -137,14 +137,14 @@ public class PokeMudry extends PortableApplication {
@Override
public void onKeyDown(int keycode) {
super.onKeyDown(keycode);
front_montant = true;
risingFront = true;
controller.keyStatus.put(keycode, true);
sp.screenManager.getActiveScreen().onKeyUp(keycode);
}
@Override
public void onKeyUp(int keycode) {
super.onKeyUp(keycode);
front_montant = false;
risingFront = false;
controller.keyStatus.put(keycode, false);
sp.screenManager.getActiveScreen().onKeyDown(keycode);
}