Fix button rotation, add support for up/down flipping and restore unit test functionality.

This commit is contained in:
wizjany
2015-01-23 00:28:05 -05:00
parent ec9c77c31b
commit ddc741147e
4 changed files with 59 additions and 17 deletions

View File

@ -2755,8 +2755,8 @@
"values": {
"down": { "data": 0, "direction": [0, -1, 0] },
"east": { "data": 1, "direction": [1, 0, 0] },
"south": { "data": 2, "direction": [0, 0, 1] },
"west": { "data": 3, "direction": [-1, 0, 0] },
"west": { "data": 2, "direction": [-1, 0, 0] },
"south": { "data": 3, "direction": [0, 0, 1] },
"north": { "data": 4, "direction": [0, 0, -1] },
"up": { "data": 5, "direction": [0, 1, 0] }
}
@ -4943,8 +4943,8 @@
"values": {
"down": { "data": 0, "direction": [0, -1, 0] },
"east": { "data": 1, "direction": [1, 0, 0] },
"south": { "data": 2, "direction": [0, 0, 1] },
"west": { "data": 3, "direction": [-1, 0, 0] },
"west": { "data": 2, "direction": [-1, 0, 0] },
"south": { "data": 3, "direction": [0, 0, 1] },
"north": { "data": 4, "direction": [0, 0, -1] },
"up": { "data": 5, "direction": [0, 1, 0] }
}