From b2d2e0a475b2831604b11986ef342ba749eb4222 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 19 Jan 2008 07:28:11 +1100 Subject: [PATCH] Now using a real projector --- prpong.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prpong.c b/prpong.c index cd5a5a6..36b297e 100644 --- a/prpong.c +++ b/prpong.c @@ -833,12 +833,12 @@ int main(int argc, char *argv[]) if (ir->valid) { /* Give it some slack for missing one or two... */ - if (time_since_last_ir <= 3) { + if (time_since_last_ir <= 5) { struct line_segment *n = malloc(sizeof(*n)); /* Wiimote coordinates are backwards for us. */ - n->start.x = MAX_X - last_ir.pos[0]; + n->start.x = last_ir.pos[0]; n->start.y = MAX_Y - last_ir.pos[1]; - n->end.x = MAX_X - ir->pos[0]; + n->end.x = ir->pos[0]; n->end.y = MAX_Y - ir->pos[1]; n->ignore = false; timeradd(&now, &line_life, &n->expires); -- 2.39.2