aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/plugin.c')
-rw-r--r--frontend/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/plugin.c b/frontend/plugin.c
index c83da72..ca359d7 100644
--- a/frontend/plugin.c
+++ b/frontend/plugin.c
@@ -48,8 +48,8 @@ static uint8_t pad_byte;
static unsigned char PADstartPoll(int pad) {
pad_byte = 0;
- pad_buf[2] = keystate;
- pad_buf[3] = keystate >> 8;
+ pad_buf[2] = ~keystate;
+ pad_buf[3] = ~keystate >> 8;
return 0xFF;
}