diff --git a/src/main.zig b/src/main.zig index 8b8a8b6..a7c4175 100644 --- a/src/main.zig +++ b/src/main.zig @@ -238,7 +238,7 @@ export fn chuni_io_jvs_poll(opbtn: ?[*]u8, beams: ?[*]u8) void { if(cfg.?.chusan == 1 and builtin.cpu.arch != .x86_64) return; if(opbtn == null or beams == null) return; if(GetAsyncKeyState(cfg.?.test_key) != 0 or (usb_in.?[3] & (1 << 7)) != 0) opbtn.?.* |= (1 << 0); - if(GetAsyncKeyState(cfg.?.test_key) != 0 or (usb_in.?[3] & (1 << 6)) != 0) opbtn.?.* |= (1 << 1); + if(GetAsyncKeyState(cfg.?.serv_key) != 0 or (usb_in.?[3] & (1 << 6)) != 0) opbtn.?.* |= (1 << 1); beams.?.* |= usb_in.?[3] & 0b111111; }