Skip to content
This repository was archived by the owner on Jul 23, 2020. It is now read-only.

Commit 3946ac8

Browse files
committed
test: Add orientation test for the Winbook TW100
1 parent 297bce8 commit 3946ac8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test-orientation.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ test_mount_matrix_orientation (void)
7070
} tests[] = {
7171
/* Onda v975 quirking */
7272
{ { 523, 13, 5 }, 0.019163, "0, -1, 0; -1, 0, 0; 0, 0, 0", ORIENTATION_NORMAL },
73-
{ { 8, 521, -67 }, 0.019163, "0, -1, 0; -1, 0, 0; 0, 0, 0", ORIENTATION_RIGHT_UP }
73+
{ { 8, 521, -67 }, 0.019163, "0, -1, 0; -1, 0, 0; 0, 0, 0", ORIENTATION_RIGHT_UP },
74+
/* Winbook TW100 quirking */
75+
{ { 24, 0, -21 }, 0.306457, "0, -1, 0; -1, 0, 0; 0, 0, 0", ORIENTATION_NORMAL },
76+
{ { 15, -25, -14 }, 0.306457, "0, -1, 0; -1, 0, 0; 0, 0, 0", ORIENTATION_LEFT_UP }
7477
};
7578

7679
for (i = 0; i < G_N_ELEMENTS (tests); i++) {

0 commit comments

Comments
 (0)