Want to make the button on the cable (~3M) connected to the computer, such as USB. Was formerly RS-232 and LPT - everything was just. How to do it in segodnyashnih realities? Soldering iron in hands to hold. Yes, and as this button then poll (or wait call) from code in C, Java or Python?