Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Bravepower

Pages: [1]
1
General / Problem decompressing SFML 1.6 tar in Ubuntu 10.04
« on: May 18, 2010, 02:44:39 am »
I get an error when trying to decompress the SFML 1.6 C++ tar file from SourceForge. I've tried downloading it several times from different mirrors and I always have the same error. The file I'm downloading is 12.3 MB, not the listed 12.9 MB. Here's the command line output:

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

Is the hosted file corrupt or am I repeatedly having download errors?

2
Window / Joystick questions
« on: September 21, 2009, 10:18:24 am »
Hi, I've been learning SFML for a short while now and I'm not sure how to use joysticks. There isn't much information for them on the website or wiki.

How do you query the available joysticks in SFML 1.5 (if possible)? Can SFML be used to detect if joysticks are plugged in/unplugged during runtime?

I notice there is a class called sf::priv::Joystick in the OS-specific joystick.hpp files, yet it is not used anywhere in the code apart from its declaration. Can I use that class or is it only partially implemented? If it is meant to be used, how do we use it? Also, what is the sf::priv namespace for?

Also can SFML support more than 2 joysticks? I know DirectInput supports more than 2 joysticks, but I'm not sure if it can be done using just win32 (or on other operating systems).

Sorry for all the questions and thanks for your time.

Pages: [1]