Once I already done this program to test joystick in Java with JInput but it wasn’t enough dynamic. So here’s version two. I thought that every joystick of stick type or gamepad type have the same components, but that’s not how it is. So here is the program that adds controller components dynamically, and also it founds all joysticks that are connected to computer.
Posts Tagged ‘java source code’
Joystick in Java with JInput v2
Posted: October 26, 2013 in JavaTags: java, java source code, jinput, joystick
38
I was wondering if randomly generated numbers with java class Random are generated evenly or any numbers are thrown more often than another or what is going on there :D. So, I made a program that generates random numbers, from 0 to max number that you set, and makes graph from this numbers.
Here is the image of graph window (one square represents one number):