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

Author Topic: Github Keyboard.hpp mistake  (Read 1185 times)

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1843
    • View Profile
    • My GitHub Page
    • Email
Github Keyboard.hpp mistake
« on: September 01, 2012, 09:57:26 pm »
Comment of line 144 in Keyboard.hpp at github says   "///< The F8 key" while it should say "///< The F9 key"  :D
ZipSavings, script to count rar/7z/zip savings: https://goo.gl/vvBj5M
LuaConsole: https://goo.gl/X4kRUk
FoxRaycaster: https://goo.gl/27nVS8
Small Games - Heart, Routing and Snek: https://goo.gl/15ZGWE https://goo.gl/k5gwWD https://goo.gl/4nKPnT
Botes - a notes app in Pascal: https://goo.gl/bzTqsi

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Re: Github Keyboard.hpp mistake
« Reply #1 on: September 01, 2012, 10:19:03 pm »
Comment of line 144 in Keyboard.hpp at github says   "///< The F8 key" while it should say "///< The F9 key"  :D

You saved the day :p

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32466
    • View Profile
    • SFML's website
    • Email
Re: Github Keyboard.hpp mistake
« Reply #2 on: September 01, 2012, 11:23:12 pm »
Definitely :)
Laurent Gomila - SFML developer

FRex

  • Hero Member
  • *****
  • Posts: 1843
    • View Profile
    • My GitHub Page
    • Email
Re: Github Keyboard.hpp mistake
« Reply #3 on: September 01, 2012, 11:25:17 pm »
By the way, are all valid keys guaranteed to be all natural numbers in [0,count) range?
ZipSavings, script to count rar/7z/zip savings: https://goo.gl/vvBj5M
LuaConsole: https://goo.gl/X4kRUk
FoxRaycaster: https://goo.gl/27nVS8
Small Games - Heart, Routing and Snek: https://goo.gl/15ZGWE https://goo.gl/k5gwWD https://goo.gl/4nKPnT
Botes - a notes app in Pascal: https://goo.gl/bzTqsi

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32466
    • View Profile
    • SFML's website
    • Email
Re: Github Keyboard.hpp mistake
« Reply #4 on: September 01, 2012, 11:31:40 pm »
Quote
By the way, are all valid keys guaranteed to be all natural numbers in [0,count) range?
Yes.
Laurent Gomila - SFML developer

FRex

  • Hero Member
  • *****
  • Posts: 1843
    • View Profile
    • My GitHub Page
    • Email
Re: Github Keyboard.hpp mistake
« Reply #5 on: September 01, 2012, 11:32:57 pm »
Thanks.  :)
ZipSavings, script to count rar/7z/zip savings: https://goo.gl/vvBj5M
LuaConsole: https://goo.gl/X4kRUk
FoxRaycaster: https://goo.gl/27nVS8
Small Games - Heart, Routing and Snek: https://goo.gl/15ZGWE https://goo.gl/k5gwWD https://goo.gl/4nKPnT
Botes - a notes app in Pascal: https://goo.gl/bzTqsi