Is there a way I can create a function that activates when the "A" key on my keyboard is pressed, sending a signal to nupp('/TS'), and stops sending the signal when the "A" key is released?
<html>
<head>
<script src=\"https://code.jquery.com/jquery-2.2.4.min.js\"></script>
<script> client.println("function nupp(url){ $.ajax(url); }"</script>
<button type=\"button\" onclick=\"nupp('/TS');\">On</button>
</head>
<body>