How do I make Shift+(key) work properly?

  • Q&A Forum
  • [RESOLVED] How do I make Shift+(key) work properly?
0
0

Hello, I have converted my midi piano to my keyboard to use in-game piano that requires keyboard keys, but every keystroke worked except all combos shift+(key).

Everytime I use Shift(2) on my piano it only plays 2 without shift. Did I do something wrong?

 

RESOLVED
Marked as spam
Posted by (Q&A Forum: 1, Answers: 1)
May 19, 2019 5:08 pm
18 views
1
Private answer

Hi, are you on Windows or Mac? On Mac, sometimes the timing of keys are more crucial and instead of using a keyboard output such as Physical Key Shift(2) you may need to send a series of keystrokes with timing delays between them.

IE

Shift Down

Wait 10ms

2 Down

Wait another 10 ms

2 Up

Wait another 10 ms

Shift Up

 

Also the game with your piano must be active and focused except sometimes on Windows you can use injected keystrokes.

Another option on Mac is to use AppleScript to use the key handling for you.

Unfortunately since all games are a bit different, this process could be a trial and error situation on which technique works best.

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

Marked as spam
Posted by (Q&A Forum: 40, Answers: 3286)
May 19, 2019 6:53 pm

Hello! I am on windows 10. I will give some delays between keystrokes if that won’t work. Would you help me with injected keystrokes? thanks.

( at May 19, 2019 8:02 pm)

Yes

( at May 19, 2019 8:38 pm)

Hello! good news! I have tried putting delays between every keystroke. 2 Notes on Key Repeat disabled, delay in 10ms each. 2 others Note Off delay 10 ms. And finally! the black piano keys played! thank you!

( at May 19, 2019 8:50 pm)

Glad to hear it. Yes, some applications require keystrokes slowly.

( at May 19, 2019 9:02 pm)