Mike Frysinger wrote:
with udev now, joystick nodes are created as /dev/input/js# and /dev/js# no longer exists ... attached patch will search for /dev/input/js# first and if that doesnt exist, fall back to /dev/js#
You could easily maintain compatibility with Wine and any other application using joysticks simply by adding some symlinks in /dev.
That's what my system has, and it's using udev.
Mike
On Wednesday 19 April 2006 09:18, Mike McCormack wrote:
Mike Frysinger wrote:
with udev now, joystick nodes are created as /dev/input/js# and /dev/js# no longer exists ... attached patch will search for /dev/input/js# first and if that doesnt exist, fall back to /dev/js#
You could easily maintain compatibility with Wine and any other application using joysticks simply by adding some symlinks in /dev.
That's what my system has, and it's using udev.
i know i could tell users to have their udev configuration generate backwards compatible symlinks and this issue would be "fixed" magically, but considering /dev/input/js is the new standard, it makes sense to me to support it, especially since this way things will generally "just work" ... other major source projects like libsdl had no qualms supporting /dev/input/js as well as /dev/js -mike
Mike Frysinger wrote:
other major source projects like libsdl had no qualms supporting /dev/input/js as well as /dev/js
Maybe when you guys come up with another new standard next year, every project that uses a joystick be broken if it doesn't search /dev/js, /dev/input/js and /dev/input/joysticks/0?
Mike
Mike McCormack mike@codeweavers.com writes:
Maybe when you guys come up with another new standard next year, every project that uses a joystick be broken if it doesn't search /dev/js, /dev/input/js and /dev/input/joysticks/0?
You don't seem to fully appreciate the beauty of Linux. Of course these things have to change all the time! I mean, how boring would it be if code we wrote 6 months ago was still working today?
Now if you will excuse me, I have to go implement a check for the new vmsplit breakage...
On Wed, 19 Apr 2006 19:18:25 +0200, Alexandre Julliard wrote:
You don't seem to fully appreciate the beauty of Linux. Of course these things have to change all the time! I mean, how boring would it be if code we wrote 6 months ago was still working today?
Now if you will excuse me, I have to go implement a check for the new vmsplit breakage...
LOL, what with this and the latest release notes I am starting to wonder if Alexandre needs a holiday :)
Or he could take a break and play some Solitaire I guess ....
Mike Hearn mike@plan99.net writes:
LOL, what with this and the latest release notes I am starting to wonder if Alexandre needs a holiday :)
Funny, I've been thinking the same thing, that's why I'm leaving Saturday for two weeks in Greece ;)
(and I'm wondering how many patches you guys will manage to stuff into my mailbox during these two weeks...)
Alexandre Julliard wrote:
Mike Hearn mike@plan99.net writes:
LOL, what with this and the latest release notes I am starting to wonder if Alexandre needs a holiday :)
Funny, I've been thinking the same thing, that's why I'm leaving Saturday for two weeks in Greece ;)
Have fun.
(and I'm wondering how many patches you guys will manage to stuff into my mailbox during these two weeks...)
That is realy interesting as this is the first vacation with git. With cvs patch submission slowed down during absence and probably the development too (except Codeweavers).
Do any of the other developers push their Wine git repository public? That way the people that work on the same code parts could sync easily.
bye michael
On 4/20/06, Alexandre Julliard julliard@winehq.org wrote:
Funny, I've been thinking the same thing, that's why I'm leaving Saturday for two weeks in Greece ;)
Wow cool, have fun! Reminds me, I should start thinking about my next holiday too ... but after exams :/
(and I'm wondering how many patches you guys will manage to stuff into my mailbox during these two weeks...)
Too many yet simultaneously not enough. Just don't check your mail whilst in Greece :)
Git should prove very useful this time, IIRC last time you took a long break there was a massive pileup, whereas this time people can always act as mini-AJs and merge patches into their own tree ready for pushing upstream when you get back.
On Wednesday 19 April 2006 11:44, Mike McCormack wrote:
Mike Frysinger wrote:
other major source projects like libsdl had no qualms supporting /dev/input/js as well as /dev/js
Maybe when you guys come up with another new standard next year,
dont really know who you're talking about when you say "you guys" ... sounds like you're trying to say this situation is my fault when really i nor Gentoo has had anything to do with /dev naming schemas
project that uses a joystick be broken if it doesn't search /dev/js, /dev/input/js and /dev/input/joysticks/0?
well if the code is at least re-factored as suggested in my patch by moving all the logic to a single function, it'd be trivial to say define an array of joystick paths and just walk the array -mike
Mike Frysinger wrote:
dont really know who you're talking about when you say "you guys" ... sounds like you're trying to say this situation is my fault when really i nor Gentoo has had anything to do with /dev naming schemas
Yes, it is Gentoo's fault. Your distro is missing a symlink, and instead of just adding the it, you waste everybody else's time running around "fixing" their projects.
Mike
On Wednesday 19 April 2006 20:00, Mike McCormack wrote:
Mike Frysinger wrote:
dont really know who you're talking about when you say "you guys" ... sounds like you're trying to say this situation is my fault when really i nor Gentoo has had anything to do with /dev naming schemas
Yes, it is Gentoo's fault. Your distro is missing a symlink, and instead of just adding the it, you waste everybody else's time running around "fixing" their projects.
i can see this thread is clearly going to go nowhere so we might as well just kill it now before we waste each other's time trying to "educate" why the other person is wrong -mike
Seems to me that symlinks provided by a distribution would be usefull as a transitional measure only. Until applications eventually move over to the new /dev locations. So...
Part of any application's perogerative is to deal with the platform(s) it runs on. Wine makes some special allowances for Solaris, and MacOS...
so... there a theme here?
--tim
On 4/19/06, Mike Frysinger vapier@gentoo.org wrote:
On Wednesday 19 April 2006 20:00, Mike McCormack wrote:
Mike Frysinger wrote:
dont really know who you're talking about when you say "you guys" ... sounds like you're trying to say this situation is my fault when really i nor Gentoo has had anything to do with /dev naming schemas
Yes, it is Gentoo's fault. Your distro is missing a symlink, and instead of just adding the it, you waste everybody else's time running around "fixing" their projects.
i can see this thread is clearly going to go nowhere so we might as well just kill it now before we waste each other's time trying to "educate" why the other person is wrong -mike
On Wed, Apr 19, 2006 at 01:18:43PM -0400, Mike Frysinger wrote:
On Wednesday 19 April 2006 11:44, Mike McCormack wrote:
Mike Frysinger wrote:
other major source projects like libsdl had no qualms supporting /dev/input/js as well as /dev/js
Maybe when you guys come up with another new standard next year,
dont really know who you're talking about when you say "you guys" ... sounds like you're trying to say this situation is my fault when really i nor Gentoo has had anything to do with /dev naming schemas
Actually why isn't /dev/input/event* used... It should work fine.
Ciao, Marcus