8 , m_tablet_context(config.default_value, config.default_value,
9 Core::InputType::TABLET, 0)
19 const auto& vec =
value.as_vector();
30 return (state & bit) != 0U ? 1.0 : 0.0;
80 if ((changed & proximity) != 0U) {
86 if ((changed & contact) != 0U) {
95 for (
const auto& callback : callbacks) {
uint32_t device_id
Source device ID.
double raw_value
Unsmoothed input value.
Core::InputType source_type
Backend that produced this input.
std::array< double, Core::TabletFrame::SLOT_COUNT > frame
double value
Current sample value.
double m_last_output
The most recent sample value generated by this oscillator.
@ STATE
TabletState bitmask.
@ BUTTONS
Bit 0 barrel, bit 1 secondary barrel, bit 2 eraser.
static constexpr size_t SLOT_COUNT