SFML community forums
Help => Window => Topic started by: JeZ-l-Lee on March 06, 2009, 12:11:47 am
-
Joysticks DO NOT Work On Windows Vista OS...
Hi,
I am trying to get my joystick to work on Windows Vista using SFML 1.4 + SVN...
I am using:
const sf::Input& Input = visuals->App.GetInput();
JoystickAxisX = Input.GetJoystickAxis(0, sf::Joy::AxisX);
to get the X axis of my joystick, but it is always 0 ???
Am I doing something wrong ?
-
No. Can you show a complete and minimal example that reproduces the problem? So that I can try myself and see if there's a bug.
-
No. Can you show a complete and minimal example that reproduces the problem? So that I can try myself and see if there's a bug.
Hi,
Sorry for the delay.
Here is a simple test program to test both joysticks:
http://silentheroproductions.com/files/SFML_Joysticks_Test.zip
(http://silentheroproductions.com/images/SFML_Joystick_TEST.gif)
I am getting nothing from my two joysticks on Windows Vista.
I have a unique setup - two PS2 Dual Shock joysticks...
Both joysticks are recognized by Vista as standard game controllers.
(i checked in Control Panel)
Hope you can fix this issue soon.
-
Hey, no need to spam, one message is enough :P
-
It works fine for me.
Maybe there's a problem with DualShock joysticks, I remember someone having a similar problem on this forum.
-
It works fine for me.
Maybe there's a problem with DualShock joysticks, I remember someone having a similar problem on this forum.
Hi,
These two joysticks are recognized by Vista as standard game controllers.
(no drivers)
This is should work in SFML 1.4+SVN but it does not.
How are you handling joysticks on Vista OS ??
-
The same way as with any other Windows OS.
Maybe you can find a non-DualShock joystick to test? Or a non-Vista Windows? :D
-
The same way as with any other Windows OS.
Maybe you can find a non-DualShock joystick to test? Or a non-Vista Windows? :D
Hi,
This joystick setup works in SDL 1.2, why not working in SFML 1.4+SVN ???
-
There's obviously a bug in SFML, and I'm just trying to identify the source of the problem (OS, joystick, ...).
Repeating that you expect it to work won't help me to fix this bug.
-
When you think it is fixed let me know and i will test here...
(http://silentheroproductions.com/images/TigerGame.gif)
-
It will be hard to fix, as I have no Vista and no DualShock joystick to reproduce the problem.
-
It will be hard to fix, as I have no Vista and no DualShock joystick to reproduce the problem.
Hi,
I need this working for my next game...
You are a genius, figure something out...
I am here to test when you are ready.
-
What if you only plug one joystick?
-
What if you only plug one joystick?
Hi,
I am a programmer, like you but not as skilled.
I have tried everything to get this to work, but it does not work.
(I tried with just one controller, nothing)
Google: "Vista Joystick programming" or something.
The system calls for joystick polling are different on Vista.
(just a guess)
And you should really have both XP and Vista OSs considering your developing a state of the art 2d game engine...
-
Hi,
I bought a regular Logitech USB joystick and tested it on Vista OS using SFML.
Joysticks are not working at all on Vista OS and SFML.
Please fix!!!
-
I will try mine tomorrow to know if its really vista.
-
I tested on a Vista laptop: everything is working fine (I have a crappy no-brand USB joystick). Too bad :?
-
I did some test!
My joystick is actually detected by sfml but events aren't catched. So you should try to find why :D.
Edit: Logitech DUAL ACTION
-
Great, we'll be able to do more debugging now :)
-
Hi,
I've got two Logitech Dual Action USB joysticks now.
(Spent about $50 already trying to help you fix this bug)
They do not work with SFML+SVN and my Windows Vista OS.
(OS is Microsoft Windows Vista Ultimate Service Pack 1 32bit)
Again, the two Logitech joysticks
are recognized by the OS
under "Control Panel" -> "Game Controllers"
Both of the Logitech joysticks are working.
I have testing using SDL 1.2 and also tried them in all of my emulators.
Please make this highest priority...
-
Hi,
I've got two Logitech Dual Action USB joysticks now.
(Spent about $50 already trying to help you fix this bug)
They do not work with SFML+SVN and my Windows Vista OS.
(OS is Microsoft Windows Vista Ultimate Service Pack 1 32bit)
Again, the two Logitech joysticks
are recognized by the OS
under "Control Panel" -> "Game Controllers"
Both of the Logitech joysticks are working.
I have testing using SDL 1.2 and also tried them in all of my emulators.
Please make this highest priority...
Stop it please. One more message like this one and I'll really stop working on this bug. It doesn't help at all, it just irritates me more and more. Trust me, I'm currently doing my best and I really don't need such disrespectful messages.
I'm just a passionate developer who spends some free time trying to make a good free library, not a company to which you paid a 1K$ license for professional support.
-
Sorry - I did not mean to offend you...
I have learning disability called Autism.
When you have something to test on Vista let me know
and I'll drop what I am doing to help...
Here is my next SFML game:
TetriBattle3 100%™ Version 3.5
For Windows, Linux, Mac OS X
"Battle or cooperate with up to two of your friends in a perfect game of Tetri_ with amazing graphics, sound, and music on your computer system!"
(http://silentheroproductions.com/images/TB3_100_Ver3_5_Dev_02.gif)
-
I did more test and it work perfectly in debug static with the lastest source from SVN.
-
TetriBattle3 100%™ Version 3.5
I've said this before, so let me be perfectly clear: You can't use ™ or ® unless the name actually is a (registered) trademark.
It's not just me being mean, that's how it actually works. You do realize that the holder of the Tetris trademark (which is registered) could theoretically sue you for that? At the very least, shut down your website should you redistribute content violating their trademark.
-
TetriBattle3 100%™ Version 3.5
I've said this before, so let me be perfectly clear: You can't use ™ or ® unless the name actually is a (registered) trademark.
It's not just me being mean, that's how it actually works. You do realize that the holder of the Tetris trademark (which is registered) could theoretically sue you for that? At the very least, shut down your website should you redistribute content violating their trademark.
Do you have a source? I'm not saying you are wrong because I don't know much about this but I would like to.
According to this site http://www.firstwriter.com/copyright/symbol.shtml, you only have to register to use ®.
To qualify for use of the registered trade mark symbol (®) you must register your trade mark with the appropriate authority in your country, whereas the trade mark symbol (™) can be applied to any symbol you are using as a trade mark. Use of the copyright symbol is more similar to use of the trade mark symbol, as work does not need to be registered in order to use it.
It is often illegal to apply the "®" symbol to a trade mark which has not been registered.
-
According to this site http://www.firstwriter.com/copyright/symbol.shtml, you only have to register to use ®.
That's correct, it's why I put (registered) in parenthesis. He uses ® too in a lot of places.
However, even if TetriBattle3 100%™ isn't a registered trademark and thus it's legal to use ™, it's certainly not legal to use a name so similar to Tetris which is a registered trademark of The Tetris Company LLC, who, according to Wikipedia, "have vigorously policed and enforced their rights and have sent cease-and-desist letters to websites that infringe Tetris":
Due to the popularity of Tetris, there have also been many knock-off and lookalike games on the Internet. In order to stop this infringement, The Tetris Company and Tetris Holding have vigorously policed and enforced their rights and have sent cease-and-desist letters to websites that infringe Tetris.
I didn't say anything about the game being a Tetris clone, even, that's understandable for a beginner programmer to recreate. Just that he shouldn't use symbols he has no clue about what they mean. It's a very common newbie habit to tack ©, ® and ™ on every name because it makes them look "cool" and "professional" (ironically, it does the exact opposite).
-
Yeah that sounds correct. However the link I was refering to claims you can use the © as well without registering. What's your thought on that?
-
Yeah that sounds correct. However the link I was refering to claims you can use the © as well without registering. What's your thought on that?
Copyright is applied automatically to everything you create, regardless of whether you use the © symbol or not. Usually it's used very conservatively to remind people of this fact, but it isn't needed. So when I see excessive (usually combined) use of ©, ® and ™ it just tells me the person doesn't really know what they mean.