Jump to content

The Dev Journal

4: Adsense

Dev Journal: Detecting Tapping and Pressing inputs using Java.

Dev Journal: Detecting Tapping and Pressing inputs using Java. I'll be showing you a simple way of detecting different input keystrokes using Java. There are two different keystrokes for a computer keyboard, tapping and pressing. Tapping a key means the user is pressing the key and letting go immediately after. Pressing a key means the user is pressing and holding down the key until the user wishes to let go.

In Jav...