change key constants
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
74f41cafde
commit
d3eb93a30a
8 changed files with 73 additions and 73 deletions
|
|
@ -231,13 +231,13 @@ static void init(void) {
|
|||
static void key(int k) {
|
||||
(void)k;
|
||||
|
||||
if(k == MwLLKeyLeft) {
|
||||
if(k == MwKEY_LEFT) {
|
||||
view_roty += 5.0;
|
||||
} else if(k == MwLLKeyRight) {
|
||||
} else if(k == MwKEY_RIGHT) {
|
||||
view_roty -= 5.0;
|
||||
} else if(k == MwLLKeyUp) {
|
||||
} else if(k == MwKEY_UP) {
|
||||
view_rotx += 5.0;
|
||||
} else if(k == MwLLKeyDown) {
|
||||
} else if(k == MwKEY_DOWN) {
|
||||
view_rotx -= 5.0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue