android - Gdx.input.justTouched() is not working on all devices -


i developing game in libgdx android device. see strange issue in using gdx.input.justtouched(). working in device , not in device. please me if code needs correction?

@override public void create() {      gdx.input.setinputprocessor(this);     gdx.input.setcatchbackkey(true);   }  public void render(spritebatch sb) {      if (gdx.input.justtouched()){         system.out.println("inside : "  );         dragnew = new vector2(gdx.input.getx(), gdx.input.gety());         dragold = dragnew;      } } 


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -