Key code for counter

Asked by Am Drouven

I wondered what the scancodes are for the counter in python I know they are 112 and 117 but they do not match with the normal code for page up and down in DEC or HEX.
I like to use the left and right mouse buttons for counter up and down. Does anybody know the code for this?

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Am Drouven
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

They are keyboard presses not mouse presses. If you turn the logging up and
press the buttons it will log the codes as you press keys. You can't use
the mouse however

Revision history for this message
Am Drouven (drouven) said :
#2

Hi
Thank you for quick respons. Pitty mouse will not work but oké.
The logging isn't started with de i and l command in phyton module. Is there anything I do wrong?
An other thing are the key codes. The site.cfg is programmed with key 112 and 117 correspondent page up and down but when I look the page up and down key codes on internet or with a Java module they say it are 33 and 34. Is there any translation table or am I missies something?

Revision history for this message
Alex Harrington (alexharrington) said :
#3

You need to enable logging in your site.cfg at level 10 and it will output
the Codes it doesn't recognise. There's no conversion table

Revision history for this message
Am Drouven (drouven) said :
#4

Yes thank you that did the job