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

◆ to_binding()

InputBinding MayaFlux::Core::InputDeviceInfo::to_binding ( ) const

Create a binding to this specific device.

Returns
InputBinding configured for this device

Definition at line 180 of file InputBinding.cpp.

181{
182 return InputBinding {
183 .backend = backend_type,
184 .device_id = id
185 };
186}
InputType backend_type
Which backend manages this device.

References MayaFlux::Core::InputBinding::backend, and backend_type.