xserver-xorg-input-joystick suggestions/questions

Peter Hutterer peter.hutterer at who-t.net
Sun Aug 3 17:59:12 PDT 2008

On Sun, Aug 03, 2008 at 07:52:37PM -0400, Stephen Paul Weber wrote:
> I read through most of the code on the module, and around line 593 on
> the source that I had in jstk.c I saw where all of the parsing of
> mappings from xorg.conf happens.  It seems to me that some sort of IPC
> listener could be kicked off at that point that would remap the
> settings when it received certain signals.  I suggested to a friend of
> mine that a Unix socket could work and he suggested I should write
> this list to see if there are better sorts of IPC that could be used
> that Xorg has built in.  Basically I want to be able to run some
> command line program or script that sends a signal to the module to
> change mappings before launching a game and then again when the game
> quits.

Please don't use IPC. The appropriate method to expose such configurations is
through input device properties. See [1] for a quick summary.


[1] http://who-t.blogspot.com/2008/07/input-device-properties.html

More information about the xorg mailing list