unfortunately it doesn't seem to work as intended... not sure if I am doing something wrong.
Within the GUI sketch that the builder program created I modified a line to read as such:
- public void onscreenKbd_click1(GButton source, GEvent event) { //_CODE_:onscreenKbd:528381:
calibPNL.setVisible(false);
remotePNL.setVisible(false);
typePNL.setVisible(true);
blankPNL.setVisible(false);
println("KEYBOARD!!!!");
if (keyboardOnOff == false){
pKeyboard = open(new String[] { "c:/Windows/system32/osk.exe" } ); // Windows Keyboard
keyboardOnOff=!keyboardOnOff;
println("keyboardOnOff= "+keyboardOnOff);
}else
- {
- pKeyboard.destroy();
keyboardOnOff=!keyboardOnOff;
println("keyboardOnOff= "+keyboardOnOff);
}
What is happening is that it opens the file just fine but when I click on the GUI button again it does nothing the second time.
Honestly even the option to minimize the window would be great it does not need to be fully closed but it would be great if I could move it out of the way using processing somehow...