Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - Keyboard button name searcher

Author
Message
Chris Tate
DBPro Master
9
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 22nd Sep 2015 03:59 Edited at: 22nd Sep 2015 04:00
The supplied functions in this snippet can enable you to perform expressions based on the name of a keyboard button, not just its integer code. Whilst a number of keycodes can be calculated, the array lookup approach of these functions enables you to set your own names for the keyboard keys.

I have taken a few functions from my user input library, and will continue to do so in the near future.

+ Code Snippet

Login to post a reply

Server time is: 2017-11-21 09:56:58
Your offset time is: 2017-11-21 09:56:58