Author Topic: Using Multiple Modifiers  (Read 2758 times)

chumponimys

  • Newbie
  • *
  • Posts: 2
Using Multiple Modifiers
« on: December 29, 2012, 08:15:59 pm »
Hey Digistump Community!
I'm not entirely sure where I should put this topic, it's not entirely a problem so I'm not sure if it should go into the support forum, but it's not exactly a project idea, so I'm not sure it belongs here...
Anyways, I am curious as to how I can use multiple modifiers? If I wanted to, for example, use cmd-shft-3 for a screenshot, or cmd-alt-ctr-8? Thanks!

~Josh
« Last Edit: December 29, 2012, 08:21:06 pm by chumponimys »

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Using Multiple Modifiers
« Reply #1 on: December 29, 2012, 10:16:57 pm »
I\'m guessing this is in reference to the keyboard library -

try something like this:


DigiKeyboard.sendKeyStroke(KEY_3, MOD_ALT_RIGHT | MOD_SHIFT_RIGHT);


I think it should work.

chumponimys

  • Newbie
  • *
  • Posts: 2
Using Multiple Modifiers
« Reply #2 on: December 30, 2012, 10:32:59 am »
This is exactly what I was looking for. Thanks!