SFML community forums

Help => Window => Topic started by: guysherman on November 18, 2008, 11:56:10 am

Title: What sits underneath the input code for the Win32 version?
Post by: guysherman on November 18, 2008, 11:56:10 am
Hi All,

A friend and I are looking at using SFML for a new game engine we are writing. I was just wondering if anyone could tell me what drives the input side of things on the Win32 implementation? Does it simply wrap the input-related events from the Win32 message queue? Or does it use something else. It doesn't appear to be wrapping DInput (DirectInput), which would be ideal.

Cheers,

Guy.
Title: What sits underneath the input code for the Win32 version?
Post by: Laurent on November 18, 2008, 12:15:45 pm
It's just wrapping input-related window's events.

DirectInput is deprecated for basic input (it's itself a layer on top of Win32 events), it makes sense only for advanced input (force feedback, ...). I think it's well described in MSDN.