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) {
void fire(NodeContext &ctx) const
Calls every entry whose condition, if any, holds.
Stores, fires and clears the hooks of one node channel.
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.
@ STATE
TabletState bitmask.
@ BUTTONS
Bit 0 barrel, bit 1 secondary barrel, bit 2 eraser.
static constexpr size_t SLOT_COUNT