views:

16

answers:

0

Hi,

I have certain Keyboard shortcuts (ctrl+Key presses) in my Silverlight app which I use to do certain actions using Input Bindings. Now I am trying to monitor what are the shortcuts used most often. I do not want to explicitly log when the user invokes a input binding . I want it to be more generic. Now my question has two parts:

  1. Is there anyway I can know what are the input bindings associated with my application and get intimated (probably through an event) whenever an input binding is executed?
  2. I tried monitoring all keyups in my app but If I monitor Key Up's then I won't get information like say ctrl was pressed if I left the ctrl key before the other key. If I monitor Key Down's then I get a lot of spurious events if say a user holds a key down and also pressing of ctrl would trigger another event. Is there any way to get around this?

Thanks
jbsp72