If you know what characters each key generates, you can usually do something useful with them.
If you have the 'codes' utility, that shows hex for each keystroke. Otherwise run this in the bash shell:
read x; echo $x | od -tx1
It will wait for input, so hit the key you're interested in followed by RETURN and you'll see what the key generated followed by 0a (LF). Here's the result of hitting F1 followed by newline on this laptop:
$ read x; echo $x | od -tx1 ^[OP
0000000 1b 4f 50 0a 0000004 $
I don't mind their prices but they did piss me off when they first bought and then killed off the Squeezebox range of audio products. Fortunately my Touch is well made, has support (though not from Logitech) and shows no signs of turning its toes up.