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

Author Topic: What sits underneath the input code for the Win32 version?  (Read 2595 times)

0 Members and 1 Guest are viewing this topic.

guysherman

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • http://www.guysherman.com
What sits underneath the input code for the Win32 version?
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
What sits underneath the input code for the Win32 version?
« Reply #1 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.
Laurent Gomila - SFML developer