VCV Rack API
v2
Loading...
Searching...
No Matches
keyboard.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
common.hpp
>
3
#include <
math.hpp
>
4
5
6
namespace
rack
{
8
namespace
keyboard {
9
10
11
PRIVATE
void
init
();
12
void
press
(
int
key);
13
void
release
(
int
key);
15
void
mouseMove
(
math::Vec
pos);
16
17
18
}
// namespace keyboard
19
}
// namespace rack
common.hpp
PRIVATE
#define PRIVATE
Attribute for private functions not intended to be called by plugins.
Definition
common.hpp:32
math.hpp
rack::keyboard::mouseMove
void mouseMove(math::Vec pos)
pos is in the unit box.
rack::keyboard::release
void release(int key)
rack::keyboard::init
PRIVATE void init()
rack::keyboard::press
void press(int key)
rack
Root namespace for the Rack API.
Definition
AudioDisplay.hpp:9
rack::math::Vec
2-dimensional vector of floats, representing a point on the plane for graphics.
Definition
math.hpp:189
include
keyboard.hpp
Generated by
1.12.0