PICO HID #270
-
Someone can help me, there is no new window. It works with a single key that I just put "Keyboard.press(ctrlKey);" in loop and then I press 'n' in my keyboard so the new window is open. Thanks in advanced #include <Keyboard.h> void setup() { void loop() { |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Maybe insert a short delay before Keyboard.press('n');? Have you established focus on the window? I've made a page turning pedal with a Leonardo clone and the Mouse library, which is similar. I have to click on the window I want it to send events to, before I start using it. |
Beta Was this translation helpful? Give feedback.
-
Good :) You're welcome. |
Beta Was this translation helpful? Give feedback.
Maybe insert a short delay before Keyboard.press('n');?
Have you established focus on the window? I've made a page turning pedal with a Leonardo clone and the Mouse library, which is similar. I have to click on the window I want it to send events to, before I start using it.