You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

keyboard.hpp 299B

12345678910111213141516171819
  1. #pragma once
  2. #include <common.hpp>
  3. #include <math.hpp>
  4. namespace rack {
  5. /** Computer keyboard MIDI driver */
  6. namespace keyboard {
  7. void init();
  8. void press(int key);
  9. void release(int key);
  10. /** pos is in the unit box. */
  11. void mouseMove(math::Vec pos);
  12. } // namespace keyboard
  13. } // namespace rack