jstest-gtk Screenshot A graphical joystick tester

jstest-gtk is a simple joystick tester based on Gtk+. It provides you with a list of attached joysticks, a way to display which buttons and axis are pressed, a way to remap axis and buttons and a way to calibrate your joystick.

Even when your joystick is working mostly fine, you might want to give it a try, as the calibration lets you get rid of overlarge default deadzones that many joysticks use and then is a noticable problem in some games.

License: free
Requirements: Scons, gtkmm

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnonononoyes
Suggest an update

Comments

No package 'gtkglextmm-1.2' found
Appears to require this too. Can't comment on the app. yet as I haven't got it to compile, but it looks interesting.
Re: gtkglextmm-1.2 posted by grumbel on May 12 2009 10:12 AM
Thats just a copy&paste bug in the SConstruct file, remove the gtkglextmm-1.2 from there and it should work fine. Thanks for reporting, will fix ASAP.
Cairo posted by Thunor on May 12 2009 2:37 PM
woden[jstest-gtk-0.1.0]$ scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -o src/axis_widget.o -c -g -Wall -Werror -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/atk-1.0 src/axis_widget.cpp src/axis_widget.cpp: In member function `bool AxisWidget::on_my_expose_event(GdkEventExpose*)': src/axis_widget.cpp:38: error: `Cairo' has not been declared src/axis_widget.cpp:38: error: `RefPtr' was not declared in this scope src/axis_widget.cpp:38: error: `Cairo' has not been declared src/axis_widget.cpp:38: error: `Context' was not declared in this scope src/axis_widget.cpp:38: error: `cr' was not declared in this scope src/axis_widget.cpp:38: error: 'class Gdk::Window' has no member named 'create_cairo_context' src/axis_widget.cpp:48: warning: converting to `int' from `double' src/axis_widget.cpp:49: warning: converting to `int' from `double' src/axis_widget.cpp:60: error: `M_PI' was not declared in this scope src/axis_widget.cpp:38: warning: unused variable 'RefPtr' src/axis_widget.cpp:38: warning: unused variable 'Context' src/axis_widget.cpp:60: warning: unused variable 'M_PI' scons: *** [src/axis_widget.o] Error 1 scons: building terminated because of errors. woden[jstest-gtk-0.1.0]$ woden[jstest-gtk-0.1.0]$ locate libcairo locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old /usr/lib/libcairo.la /usr/lib/libcairo.so.2.9.0 /usr/lib/libcairo.so.2.9.1 /usr/lib/libcairo.so.2 /usr/lib/libcairo.so woden[jstest-gtk-0.1.0]$ woden[jstest-gtk-0.1.0]$ cd /usr/include/cairo/ woden[cairo]$ ls cairo-features.h cairo-ft.h cairo-glitz.h cairo-pdf.h cairo-ps.h cairo-svg.h cairo-xlib-xrender.h cairo-xlib.h cairo.h woden[cairo]$ grep -n "create_cairo_context" * woden[cairo]$ woden[cairo]$ ls /usr/doc/cairo-1.2.2/ AUTHORS COPYING ChangeLog INSTALL NEWS README TODO I suspect my cairo 1.2.2 is too old. Shame because all the other includes I can match exactly. What version of cairo do I need?
gtkmm posted by Thunor on May 13 2009 7:39 PM
I was looking in the wrong place. create_cairo_context is part of gtkmm but should be in gtkmm-2.4 which I have. I ran "grep -R -n create_cairo_context *" in /usr/include but I don't have it. I am assuming I am going to find the function definition in a header somewhere. Can somebody do the same on their system and tell me where I should find create_cairo_context.
Re: gtkmm posted by parasti on May 13 2009 8:36 PM

Debian testing:

$ cd /usr/include
$ grep -R create_cairo_context .
./gdkmm-2.4/gdkmm/drawable.h:  Cairo::RefPtr create_cairo_context();
Re: gtkmm posted by parasti on May 13 2009 8:39 PM

By the way, I've apparently got the file from a package called libgtkmm-2.4-dev.

Re: gtkmm posted by Thunor on May 13 2009 10:11 PM
Debian testing:

$ cd /usr/include
$ grep -R create_cairo_context .
./gdkmm-2.4/gdkmm/drawable.h:  Cairo::RefPtr create_cairo_context();

By the way, I've apparently got the file from a package called libgtkmm-2.4-dev.
Many thanks for that parasti.

I have /usr/include/gdkmm-2.4/gdkmm/drawable.h as part of gtkmm-2.8.8-i486-1z28.tgz (Zenwalk package) and I don't have that function! The word cairo isn't in there at all in either case.

At the top of drawable.h it says :-
/* $Id: drawable.hg,v 1.6.4.1 2006/04/13 22:12:25 murrayc Exp $ */
if that's any use for anybody reading this in the future.
woden[include]$ locate libgtkmm
locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/usr/lib/libgtkmm-2.4.so.1
/usr/lib/libgtkmm-2.4.so
/usr/lib/libgtkmm-2.4.so.1.0.29
/usr/lib/libgtkmm-2.4.la
woden[include]$
Re: gtkmm posted by parasti on May 13 2009 10:26 PM

create_cairo_context is marked in the header with a "@newin2p10" Doxygen macro, which I guess means it was added in gtkmm 2.10 (and you have 2.8).

Looks like a very promising application. Not tested out the calibrations properly yet, but it looks good so far.

Since it allows multiple profiles (I guess for the calibration data), might it be worth allowing the user to rename them?

Log in or register to rate this game or post a comment.