JStest does not currently support hot-plugging (adding or removing joysticks while the app is running). I'll work on this at a later date.
I've begun adding haptic (force feedback) support to JStest. So far we only check to see if the attached joystick(s) support haptic. If I get a joystick that supports haptic then I'll be able to add a simple test, such as vibrate the joystick.
Haptic support
Added haptic check.
I've just received a Thrustmaster throttle/joystick and tested it in JStest. See the two new screen shots on the front page. The throttle needed another axis (8 total) so I added one to the interface. It all works as expected.
Added one more axis. Total of 8 now.
The project was uploaded today, 6 May 2021. I started this project after changing the joystick handling in the QtJSBSim project from Plib to SDL. What I've learned about SDL's joystick handling is incorporated here. I can think of two practical uses for this project. One is to inspect the representation of a joystick via SDL, i.e. what joystick components are installed and what values do they report. The other use is as an example of how to incorporate an SDL joystick handler into your own apps.
First commit of the JStest project, 6 May 2021. So far I've only run this app from within Qt Creator on a linux platform. I've not tested it on other platforms, although AFAIK all the code and libraries are cross-platform.
Home
Home
Home
Home
Version 1.0 is now available as a zipped archive. This version includes: Ability to show 7 axes, 24 buttons, and 4 hats. New button display layout which is more compact. Ability to show multiple simultaneous button presses. Default help file location is now hosted on my web space. NOTE: see Code Forum post on chrome engine bug. -- Dave
Those of you running linux may see this error message when opening your browser to read the help files: [76327:76327:0511/114921.230883:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. Apparently this is due to a bug in the chrome browser engine, which may be used by your browser even if it isn't Chrome or Chromium. As far as I know the error doesn't result in any issue other than the warning itself.
two more
Fixed hat 3 label.
Changed button displays, added more hat displays.
Merge branch 'master' of ssh://git.code.sf.net/p/jstest/code
The docs are located within the docs/en directory. This is a convenient place to put the docs, but it makes it difficult to specify their URL later. People can rename their install directory, and they can build within any directory if they want to, so my app has to hunt for the docs. As long as people download and build this app "normally" the app can find the docs. Just to make sure the docs can be found I've hosted them at my web space. The latest commit uses these docs as the default URL. If you'd...
Using docs hosted remotely now.
I've uploaded a zipped archive of the source code to the "Files" section here. No version number. You can open the directory in Qt Creator or you can build using Cmake.
forgot the header
Merge branch 'master' of ssh://git.code.sf.net/p/jstest/code
New hat displays.
Removed debugging output.
Fixed install directory function.
Fixed function that finds the install path
Updated URL to project.
Fixed cmake file.
This is a Qt app, so it has the files one normally finds in Qt apps: main.cpp, mainwindow.h, mainwindow.cpp, mainwindow.ui. These files are in the src directory. Also in the src directory are the resources file: main.qrc and the Qt Creator project file: JStest.pro. There are three subdirectories, components, images, and joystick. The components directory contains C++ classes that are "widget managers". These managers control most of the widgets in the app. A Qt app with a lot of widgets, such as...
The project was uploaded today, 6 May 2021. I started this project after changing the joystick handling in the QtJSBSim project form Plib to SDL. What I've learned about SDL's joystick handling is incorporated here. I can think of two practical uses for this project. One is to inspect the representation of a joystick via SDL, i.e. what joystick components are installed and what values do they report. The other use is as an example of how to incorporate an SDL joystick handler into your own apps.
The project was uploaded today, 6 May 2021. I started this project after changing the joystick handling in the QtJSBSim project form Plib to SDL. What I've learned about SDL's joystick handling is incorporated here. I can think of two practical uses for this project. One is to inspect the representation of a joystick via SDL, i.e. what joystick components are installed and what values do they report. The other use is as an example of how to incorporate an SDL oystick handler into your own apps.
First commit of the JStest project, 6 May 2021. So far I've only run this app from within Qt Creator on a linux platform. I've not tested it on other platforms, although AFAIK all the code and libraries are cross-platform. The cmake build system is not working yet.
First commit of the JStest project, 6 May 2021. So far I've only run this app from within Qt Creator on a linux platform. I've not tested it on other platforms, although AFAIK all the code and libraries are cross-platform.
removed two uneeded files
remove pro.user file
Git ignore QT Creator files
removed build directory
Initial commit