Thread: Key maps
View Single Post
  #2  
Unread 09-12-2010, 09:21 PM
Pengoros Pengoros is offline
The Unscathed
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 15
Quote:
Originally Posted by MrJackdaw
Is there a simple command for the keymaps?

I want a plugin I am writing to sort the packs to fire when I hit shift-b, but have no idea how to trap the 'b' key. SetWantsKeyUpdates first obviously, but then?
I'm not aware of any key to code mapping files being available. If I want to find out a key code I just turn the SetWantsKeyUpdates to true and then start printing out args.Action in the KeyDown method to figure out what the code is.
Reply With Quote