I have done A LOT of researching but I can't seem to find a basic code for JInput that gets the X and Y axis of the controller. Also, to "select"/set your controller, how do you filter out the mouse and keyboard? Thanks!
The getting started guide on the java gaming forums should have the information you need.
JInput forums home
Related
I'm working on a java web scraper that someone else has written in a terrible way. It is very difficult to understand anything, and there is no comment at all. It is supposed to retrieve articles and their comments on different press websites.
My problem is that one of these website displays only 10 comments, and load more comments only if you scroll down. The point is that I need ALL the comments, not only the first ten, but I don't know how my web client could immitate a scroll down, or if there is any other and better way.
After some research, I've found that configuring a very high InnerHeight might resolve the problem, but I have no idea about how it works, and I don't even know if it can resolve my problem...
The website I am trying to scrape is :
https://www.lefigaro.fr/international/le-climat-se-tend-en-allemagne-face-aux-restrictions-anti-corona-20201025
To load the comments, you have to click on the blue button at the end of the page "LIRE LES COMMENTAIRES"
Can someone help ?
Thanks :) !
To begin with i am using Eclipse as my java IDE. Im doing a robotics project where my robot (the lego mindstorms ev3) travels a room using SLAM (programmed in java) and does some image recognition using a webcam which is attached to it.
So far i have an algorithm in matlab for the image recognition and ive installed the plugin to use the ev3 from eclipse but i need to be able to link these two together.
(I haven't started on the mapping yet so if any one is interested and has any suggestions then that might be helpful to me, thank you in advance)
My tutor tells me that he hasn't heard of matlab being used in eclipse before but i have seen a few people on the internet say they have done it. Ive looked for plugins but i haven't found anything that i could get to work so any suggestions would be greatly appreciated.
likewise if any one thinks this cant be done but knows an alternative route that i could take for this project then that would also be appreciated to save me spending further hours researching when im on a tight schedule!
Thanks again guys!
I would like to create a Desk Band Application in Windows 10 using JavaFX.
I saw this post .NET Embedding application in windows-taskbar and this is exactly what i want to do, but in JavaFX.
I'm searching everywhere but i don't find anything that explains how can i do it...
Someone can give me a hint from where to start?
I start looking about Desk Bands as said in the post, but it' too specific for C#.
so im writing an application that is supposed to use 6 game pads as input. i have found alot of documentation about a library called JINPUT. but the official download link gives me a 404 error. it would be awesome if someone here knew an alternative i could use. or knew a good download link. thanks!
JInput can be found there :
http://java.net/projects/jinput
You can use SVN to get it :
http://java.net/projects/jinput/sources/svn/show/trunk?rev=252
There are some tutorials around the web you could use.
I'm kind of new to LWJGL (I have done some things with it in Minecraft), and I need some help. I want to make a mod for Minecraft where the user could have the option of using their PS3 controller. I have looked for JInput tutorials for beginners, and found none. I have also tried looking at how Minecraft handles input with LWJGL, but I couldn't find anything good.
I'm kind of desperate now. Please help, and thanks in advance.
Checkout the JInput forum at javagaming.org, there is a sticky there for getting started with JInput that has some tutorials.
LWJGL wraps JInput for controllers, it has it's own code for keyboard and mice, but everything else goes through JInput.
Regarding the PS3 controller, as long as the underlying OS has drivers for it, and exposes it via the normal method (/dev/input/event device for linux, directx for windows etc) then JInput will see it.
HTH