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

Author Topic: ERROR - [Keyboard.hpp] - Coincidence problem Class ~ Wiki  (Read 2330 times)

0 Members and 1 Guest are viewing this topic.

Flaco

  • Newbie
  • *
  • Posts: 36
  • Glory to Arztotzka!
    • View Profile
    • Core Unit
    • Email
ERROR - [Keyboard.hpp] - Coincidence problem Class ~ Wiki
« on: July 23, 2012, 05:40:57 am »
Hi,

I was in trouble all the week with an error (I use SFML 2.0):

Back is not a member of sf::Keyboard

(Well, not really a week...)

So I read again and again the Wiki & the Doc' about the sf::Keyboard class and I read that:

In the documentation:
enum Key{
//Some enums
Space,
Return,
Back, /* Here */
Tab,
PageUp,
//Some enums
}


So after a while I read the file Keyboard.hpp and found something else:

In Keyboard.hpp (SFML/Window/):
enum Key{
//Some enums yeah
Space,
Return,
BackSpace, /* Different enum here! */
Tab,
PageUp,
//enums, enums, enums
}
 


Sorry for the long topic but I just wan't to be clear about the what and where is error. ^^'

Thank you and hope I help! :)
« Last Edit: July 23, 2012, 05:42:45 am by Flaco »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: ERROR - [Keyboard.hpp] - Coincidence problem Class ~ Wiki
« Reply #1 on: July 23, 2012, 07:59:17 am »
Yeah I don't update the online documentation everytime there's a small update, sorry.
Laurent Gomila - SFML developer

Flaco

  • Newbie
  • *
  • Posts: 36
  • Glory to Arztotzka!
    • View Profile
    • Core Unit
    • Email
Re: ERROR - [Keyboard.hpp] - Coincidence problem Class ~ Wiki
« Reply #2 on: July 23, 2012, 03:44:06 pm »
No worries!  :D Thank you Laurent! :)