diff --git a/UDPclient.depend b/UDPclient.depend index 41a3082..5eca541 100644 --- a/UDPclient.depend +++ b/UDPclient.depend @@ -112,3 +112,49 @@ 1394060723 source:/home/chch/HengLongUDPclient/wansview.c "wansview.h" +1395529103 source:/root/HengLongUDPclient/henglong.c + "henglong.h" + +1395529103 /root/HengLongUDPclient/henglong.h + + + + +1395529103 source:/root/HengLongUDPclient/main.c + + + + + + + + + + + + + + + + + + + + "henglong.h" + + "wansview.h" + "extern.h" + +1395529103 /root/HengLongUDPclient/wansview.h + + + + + + +1395529103 /root/HengLongUDPclient/extern.h + + +1395529103 source:/root/HengLongUDPclient/wansview.c + "wansview.h" + diff --git a/bin/Debug/UDPclient b/bin/Debug/UDPclient index f9247b9..2b106d7 100755 Binary files a/bin/Debug/UDPclient and b/bin/Debug/UDPclient differ diff --git a/extern.c b/extern.c index 31d0094..a8e165d 100644 --- a/extern.c +++ b/extern.c @@ -4,6 +4,7 @@ void fire(void) { - system("xte key Return"); + system("echo bla"); + system("xte \'key Return\'\n"); } diff --git a/main.c b/main.c index 49865e4..1be3ec5 100644 --- a/main.c +++ b/main.c @@ -193,7 +193,7 @@ void *joystick_thread_fcn(void * arg) args->outtty = outttyloc; args->hl.ignation = (1 & (jsdata.buttons >> 2)); - args->hl.fire = (1 & (jsdata.buttons >> 1)); + args->hl.fire = (1 & (jsdata.buttons >> 0)); printf("%6d %6d %4x\n", jsdata.x, jsdata.y, jsdata.buttons); } diff --git a/obj/Debug/extern.o b/obj/Debug/extern.o new file mode 100644 index 0000000..eed5d9e Binary files /dev/null and b/obj/Debug/extern.o differ diff --git a/obj/Debug/main.o b/obj/Debug/main.o index c753fca..de61af5 100644 Binary files a/obj/Debug/main.o and b/obj/Debug/main.o differ