mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[hal] Update DS API to new format (#7977)
This commit is contained in:
@@ -110,7 +110,7 @@ TEST_F(DSCommPacketTest, DescriptorTag) {
|
||||
12, 3};
|
||||
arr[1] = sizeof(arr) - 2;
|
||||
auto& data = ReadDescriptorTag(arr);
|
||||
ASSERT_EQ(data.descriptor.isXbox, 1);
|
||||
ASSERT_EQ(data.descriptor.isGamepad, 1);
|
||||
ASSERT_EQ(data.descriptor.type, 0);
|
||||
ASSERT_STREQ(data.descriptor.name, "Hello World");
|
||||
ASSERT_EQ(data.descriptor.axisCount, 4);
|
||||
|
||||
Reference in New Issue
Block a user