Repository files navigation Mobile accelerometer to control computer race games :
mobile read accelerometer value (x,y,z angle value) and send it to computer throw Udp protocol
computer take the value of accelerometer and decide the direction then simulate the convenient key (a,s,d,w) from keyboard.
in computer section (labview program) : there is Udp server and keyboard simulator .
in mobile section (android app) : there is accelerometer reader and Udp client .
your mobile and computer should be in the same network .
open UdpServer_KeySim.vi with labview.
in **Block Diagram window" put your local ip address (like 192.168.1.4) and your port (like 9999).
install Acc_UdpClient.apk and open it , then put the same ip and port in boxes.,then click send.
now (a , s , d , w) is clicking proportionally with mobile angle .
About
Mobile accelerometer to control computer race games
Topics
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.