From 85e480db3d0623c5b313c5eb3c5976cc3d6f89d7 Mon Sep 17 00:00:00 2001 From: mrdudz Date: Thu, 8 Mar 2018 04:05:10 +0100 Subject: [PATCH] style fixes --- testcode/lib/joy-test.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/testcode/lib/joy-test.c b/testcode/lib/joy-test.c index 167534137..3d584bf9d 100644 --- a/testcode/lib/joy-test.c +++ b/testcode/lib/joy-test.c @@ -14,16 +14,16 @@ # define DYN_DRV 0 /* - * link existing drivers like this: - * - * cl65 -DJOYSTICK_DRIVER=c64_hitjoy_joy -o joy-test.prg joy-test.c - * - * for testing a new driver you will have to uncomment the define below, and - * link your driver like this: - * - * co65 ../../target/c64/drv/joy/c64-hitjoy.joy -o hitjoy.s --code-label _hitjoy - * cl65 -DJOYSTICK_DRIVER=hitjoy -o joy-test.prg joy-test.c hitjoy.s - * +** link existing drivers like this: +** +** cl65 -DJOYSTICK_DRIVER=c64_hitjoy_joy -o joy-test.prg joy-test.c +** +** for testing a new driver you will have to uncomment the define below, and +** link your driver like this: +** +** co65 ../../target/c64/drv/joy/c64-hitjoy.joy -o hitjoy.s --code-label _hitjoy +** cl65 -DJOYSTICK_DRIVER=hitjoy -o joy-test.prg joy-test.c hitjoy.s +** */ /* extern char JOYSTICK_DRIVER; */ @@ -93,12 +93,12 @@ int main (void) } /* show pressed key, so we can verify keyboard is working */ - kb = kbhit(); - ch = kb ? cgetc() : ' '; + kb = kbhit (); + ch = kb ? cgetc () : ' '; gotoxy (1, i+2); - revers(kb); - cprintf("kbd: %c", ch); - revers(0); + revers (kb); + cprintf ("kbd: %c", ch); + revers (0); } return 0; } -- 2.39.2