Correct tabs to spaces

develop
Jason C. Wenger 2020-07-11 21:28:22 -05:00
parent f9f02815d0
commit 5dda24782d
15 changed files with 29 additions and 29 deletions

View File

@ -71,7 +71,7 @@ add_library(aasdk SHARED
add_dependencies(aasdk aasdk_proto) add_dependencies(aasdk aasdk_proto)
target_link_libraries(aasdk target_link_libraries(aasdk
aasdk_proto aasdk_proto
libusb libusb
${Boost_LIBRARIES} ${Boost_LIBRARIES}
${PROTOBUF_LIBRARIES} ${PROTOBUF_LIBRARIES}
${OPENSSL_LIBRARIES} ${OPENSSL_LIBRARIES}

View File

@ -25,7 +25,7 @@ message AVChannelMessage
enum Enum enum Enum
{ {
AV_MEDIA_WITH_TIMESTAMP_INDICATION = 0x0000; AV_MEDIA_WITH_TIMESTAMP_INDICATION = 0x0000;
AV_MEDIA_INDICATION = 0x0001; AV_MEDIA_INDICATION = 0x0001;
SETUP_REQUEST = 0x8000; SETUP_REQUEST = 0x8000;
START_INDICATION = 0x8001; START_INDICATION = 0x8001;
STOP_INDICATION = 0x8002; STOP_INDICATION = 0x8002;

View File

@ -22,5 +22,5 @@ package aasdk.proto.messages;
message AVChannelSetupRequest message AVChannelSetupRequest
{ {
required uint32 config_index = 1; required uint32 config_index = 1;
} }

View File

@ -25,7 +25,7 @@ message AVChannelSetupStatus
enum Enum enum Enum
{ {
NONE = 0; NONE = 0;
FAIL = 1; FAIL = 1;
OK = 2; OK = 2;
} }
} }

View File

@ -22,8 +22,8 @@ package aasdk.proto.messages;
message AVInputOpenRequest message AVInputOpenRequest
{ {
required bool open = 1; required bool open = 1;
optional bool anc = 2; optional bool anc = 2;
optional bool ec = 3; optional bool ec = 3;
optional int32 max_unacked = 4; optional int32 max_unacked = 4;
} }

View File

@ -24,5 +24,5 @@ package aasdk.proto.data;
message AbsoluteInputEvents message AbsoluteInputEvents
{ {
repeated AbsoluteInputEvent absolute_input_events = 1; repeated AbsoluteInputEvent absolute_input_events = 1;
} }

View File

@ -24,5 +24,5 @@ package aasdk.proto.data;
message ButtonEvents message ButtonEvents
{ {
repeated ButtonEvent button_events = 1; repeated ButtonEvent button_events = 1;
} }

View File

@ -9,5 +9,5 @@ target_link_libraries(aasdk_proto ${PROTOBUF_LIBRARIES})
install(TARGETS aasdk_proto DESTINATION lib) install(TARGETS aasdk_proto DESTINATION lib)
install(DIRECTORY . DESTINATION include/aasdk_proto install(DIRECTORY . DESTINATION include/aasdk_proto
FILES_MATCHING PATTERN *.h FILES_MATCHING PATTERN *.h
PATTERN CMakeFiles EXCLUDE ) PATTERN CMakeFiles EXCLUDE )

View File

@ -24,5 +24,5 @@ package aasdk.proto.data;
message RelativeInputEvents message RelativeInputEvents
{ {
repeated RelativeInputEvent relative_input_events = 1; repeated RelativeInputEvent relative_input_events = 1;
} }

View File

@ -24,7 +24,7 @@ message ShutdownReason
{ {
enum Enum enum Enum
{ {
NONE = 0; NONE = 0;
QUIT = 1; QUIT = 1;
} }
} }

View File

@ -25,7 +25,7 @@ message Status
{ {
enum Enum enum Enum
{ {
OK = 0; OK = 0;
FAIL = 1; FAIL = 1;
} }
} }

View File

@ -22,7 +22,7 @@ package aasdk.proto.data;
message TouchLocation message TouchLocation
{ {
required uint32 x = 1; required uint32 x = 1;
required uint32 y = 2; required uint32 y = 2;
required uint32 pointer_id = 3; required uint32 pointer_id = 3;
} }

View File

@ -24,8 +24,8 @@ message VideoFocusMode
{ {
enum Enum enum Enum
{ {
NONE = 0; NONE = 0;
FOCUSED = 1; FOCUSED = 1;
UNFOCUSED = 2; UNFOCUSED = 2;
} }
} }

View File

@ -24,8 +24,8 @@ message VideoFocusReason
{ {
enum Enum enum Enum
{ {
NONE = 0; NONE = 0;
UNK_1 = 1; UNK_1 = 1;
UNK_2 = 2; UNK_2 = 2;
} }
} }

View File

@ -49,14 +49,14 @@ if (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS)
else (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS) else (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS)
find_path(LIBUSB_1_INCLUDE_DIR find_path(LIBUSB_1_INCLUDE_DIR
NAMES NAMES
libusb.h libusb.h
PATHS PATHS
/usr/include /usr/include
/usr/local/include /usr/local/include
/opt/local/include /opt/local/include
/sw/include /sw/include
PATH_SUFFIXES PATH_SUFFIXES
libusb-1.0 libusb-1.0
) )
find_library(LIBUSB_1_LIBRARY find_library(LIBUSB_1_LIBRARY