change key constants
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-20 00:18:04 +09:00
commit d3eb93a30a
Signed by: nishi
GPG key ID: 27EF69B208EB9343
8 changed files with 73 additions and 73 deletions

View file

@ -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;
}
}