MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ initialize_tablet_backend()

void MayaFlux::Core::InputSubsystem::initialize_tablet_backend ( )
private

Definition at line 363 of file InputSubsystem.cpp.

364{
365 TabletBackend::Config tablet_config;
366 tablet_config.read_buffer_size = m_config.tablet.read_buffer_size;
367 tablet_config.poll_timeout_ms = m_config.tablet.poll_timeout_ms;
368 tablet_config.split_eraser = m_config.tablet.split_eraser;
369
370 add_backend(std::make_unique<TabletBackend>(tablet_config));
371}
bool add_backend(std::unique_ptr< IInputBackend > backend)
Add a custom input backend.
TabletBackendInfo tablet
Tablet backend configuration.
int poll_timeout_ms
Timeout for hid_read_timeout.
size_t read_buffer_size
Per-device read buffer size.
bool split_eraser
Report the eraser end as its own tool.

References add_backend(), m_config, MayaFlux::Core::TabletBackend::Config::poll_timeout_ms, MayaFlux::Core::TabletBackendInfo::poll_timeout_ms, MayaFlux::Core::TabletBackend::Config::read_buffer_size, MayaFlux::Core::TabletBackendInfo::read_buffer_size, MayaFlux::Core::TabletBackend::Config::split_eraser, MayaFlux::Core::TabletBackendInfo::split_eraser, and MayaFlux::Core::GlobalInputConfig::tablet.

Referenced by initialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: