DevAttachment:Rename: api=>stimbuffapi, implexor=>qualeiface
This commit is contained in:
@@ -160,9 +160,9 @@ extern "C" sal_mlo_detachDeviceReqFn livoxGen1_detachDeviceReq;
|
||||
// Sense API descriptor
|
||||
static const SenseApiDesc livoxGen1ApiDesc = {
|
||||
.name = "livoxGen1",
|
||||
.exportedImplexorApis = {
|
||||
{.name = "pointCloudCoords"},
|
||||
{.name = "pointCloudIntensity"},
|
||||
.exportedQualeIfaceApis = {
|
||||
{.name = "pcloud"},
|
||||
{.name = "pcloudIntensity"},
|
||||
{.name = "gyro"},
|
||||
{.name = "accel"}
|
||||
},
|
||||
|
||||
@@ -118,7 +118,7 @@ void AttachedWindow::parseWindowSelector(
|
||||
windowSelector.matchType = xcb_xorg::window_search::MatchType::SUBSTRING;
|
||||
|
||||
// Check if 'dev-id', 'dev-string', or 'dev-substring' is specified
|
||||
for (const auto& param : spec.apiParams)
|
||||
for (const auto& param : spec.stimBuffApiParams)
|
||||
{
|
||||
if (param.first == "dev-id" || param.first == "devid")
|
||||
{
|
||||
@@ -330,7 +330,7 @@ static void xcbWindow_detachDeviceReq(
|
||||
// SenseApi descriptor
|
||||
static smo::sense_api::SenseApiDesc xcbWindowApiDesc = {
|
||||
.name = "xcb",
|
||||
.exportedImplexorApis = { { "video-implexor" } },
|
||||
.exportedQualeIfaceApis = { { "visual-qualeiface" } },
|
||||
.sal_mgmt_libOps = {
|
||||
.initializeInd = xcbWindow_initializeInd,
|
||||
.finalizeInd = xcbWindow_finalizeInd,
|
||||
|
||||
Reference in New Issue
Block a user