CETECIran / jkeys

exported from code.google.com/p/jkeys
0 stars 0 forks source link

"Virtual" in other sense joystick functionality #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not exactly issue, rather wish to extend functionality.

Problem: stumbled upon particular game (linux port of Descent Freespace 2), 
input code of which allows only one joystick. Judging by googled out posts in 
miscellaneous related forums i'm not the only one that is hurt by that with 
having joystick/rudder pedals/trackir as separate devices and are upto mercy or 
free development resources of particular programs/games to rewrite their input 
layer to support multiple devices.
Hence i wonder - if it's possible to write some code, that lists all the 
capabilities/axis/buttons/hats from actual devices, and presents all of them in 
one, "virtual joystick"? I see it like making real joystick device files 
unreadable directly by user via setting permissions on them, but readable to 
some joystick virtualisation software, eg. yours :), that simply passes forth 
and back from real devices to virtual unified one. Probably only some 
duplicated button/or other control ID incrementing needed apart from blind 
passing of data to/from real ones + presenting some device ID of it's own.

As your software seems a bit related to this field, i decided to post here and 
ask on what you think about adding such functionality to it?

Original issue reported on code.google.com by churc...@gmail.com on 9 May 2012 at 12:30