General Question

XOIIO's avatar

Program that shows which "number" key you press?

Asked by XOIIO (18328points) December 8th, 2014

working on custom defining some controls for a game and have come across this before, where in settings files the key to press is actually defined as a number or in this case an input channel (not sure why).

I was wondering if there is a little program out there to show you which one you press/hold down by the number or whatever identifying info it sends.

Observing members: 0 Composing members: 0

3 Answers

dabbler's avatar

Are you looking for the ASCII Code of the character pressed?

XOIIO's avatar

No, it would be the key identifier or something like that.

dabbler's avatar

Are you programming in some language?
It would be a few lines in most shell languages to block on incoming keystroke then output whatever format you want to wherever you want (file or stdout or…).
Put that in a loop.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther