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

Author Topic: Does SFML has Gloabl keyboard hook?  (Read 2760 times)

0 Members and 1 Guest are viewing this topic.

lewiskong

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Does SFML has Gloabl keyboard hook?
« on: October 31, 2017, 01:23:54 pm »
Hello , i need to hook keyboard events when the window is not focused.
I didn't found anything pertinent to this .
Is there anyway to realize it in SFML? ::) ::)

achpile

  • Full Member
  • ***
  • Posts: 231
    • View Profile
    • Achpile's homepage
    • Email
Re: Does SFML has Gloabl keyboard hook?
« Reply #1 on: October 31, 2017, 02:00:35 pm »
Hello , i need to hook keyboard events when the window is not focused.
I didn't found anything pertinent to this .
Is there anyway to realize it in SFML? ::) ::)

https://www.sfml-dev.org/documentation/2.4.2/classsf_1_1Keyboard.php#a80a04b2f53005886957f49eee3531599