Skip to content

Commit

Permalink
tools/debug-device: print the Remote integration flag
Browse files Browse the repository at this point in the history
Fixes: 081e03a ("Add a new IntegratedIn=Remote flag")
  • Loading branch information
whot committed Nov 10, 2024
1 parent c5adb07 commit 0874e09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/debug-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,11 @@ handle_device(WacomDeviceDatabase *db, const char *path)

{
WacomIntegrationFlags flags = libwacom_get_integration_flags(device);
func(libwacom_get_integration_flags, "%s%s %s",
func(libwacom_get_integration_flags, "%s%s %s %s",
flags == WACOM_DEVICE_INTEGRATED_NONE ? "NONE" : "",
flags == WACOM_DEVICE_INTEGRATED_DISPLAY ? "DISPLAY" : "",
flags == WACOM_DEVICE_INTEGRATED_SYSTEM ? "SYSTEM" : ""
flags == WACOM_DEVICE_INTEGRATED_SYSTEM ? "SYSTEM" : "",
flags == WACOM_DEVICE_INTEGRATED_REMOTE ? "REMOTE" : ""
);
}

Expand Down

0 comments on commit 0874e09

Please sign in to comment.