X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Finputest.c;h=3722c1754cbd8b170e6bd9bcbd778fe13b035230;hb=c48c2f1e1f84ca6eaa064e6e88884c7e9c8d303b;hp=44195363d18a91232ebb1e41742158bd04dd4e4b;hpb=25b9bc83026e8a72be55c8ba9ad73496e8654e50;p=16.git diff --git a/src/inputest.c b/src/inputest.c index 44195363..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. * @@ -31,10 +31,10 @@ main(int argc, char *argv[]) player_t player[MaxPlayers]; //extern struct inconfig inpu; testkeyin=0; - testcontrolnoisy=0; - testctrltype=1; + testcontrolnoisy=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); }