Results 1 to 1 of 1

Thread: Keyboard codes and events

  1. #1
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default Keyboard codes and events

    This link should list all the keyboard codes

    http://people.uncw.edu/tompkinsj/112...t/keyCodes.htm

    I have no trouble getting the space/enter/ or arrows to work.

    I am only getting the alpha keys to work with the shift key pressed. the correct code for the 'r' key would be 114 without the shift. but it does not work. I tried disabling keyboard shortcuts as well.

    here is some code:
    Code:
                  if 
    			(evt.keyCode == 82){
    				
    				trace("hi");}
    -this works but when I put in the value of 114(no shift key) it isn't responding. Unless my keyboard is whacked or something.

    Thanks in advance.
    Last edited by evan; 06-25-2009 at 08:46 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •