X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Finputest.c;h=3722c1754cbd8b170e6bd9bcbd778fe13b035230;hb=30c252ff8d317c80898b3114ef90170434ff26df;hp=edd86d62c7cbc968126892393132fdbfdb066733;hpb=ec85f08eb2f24840ce0e85503343f0fda38c0807;p=16.git diff --git a/src/inputest.c b/src/inputest.c index edd86d62..3722c175 100755 --- a/src/inputest.c +++ b/src/inputest.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -32,9 +32,9 @@ main(int argc, char *argv[]) //extern struct inconfig inpu; testkeyin=0; testcontrolnoisy=1; - testctrltype=1; IN_Startup(); IN_Default(0,&player,ctrl_Joystick1); + IN_SetControlType(0,&player,ctrl_Joystick1); //while(!IN_KeyDown(sc_Escape)) player[0].q=1; player[0].d=2; @@ -107,5 +107,4 @@ main(int argc, char *argv[]) printf("version %s\n", VERSION); printf("testkeyin=%u\n", testkeyin); printf("testcontrolnoisy=%u\n", testcontrolnoisy); - printf("testctrltype=%u\n", testctrltype); }