Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
Disable the mouse in Fullscreen Mode
Print
Pages: [
1
]
Author
Topic: Disable the mouse in Fullscreen Mode (Read 2776 times)
0 Members and 1 Guest are viewing this topic.
VanEldo
Newbie
Posts: 12
Disable the mouse in Fullscreen Mode
«
on:
May 23, 2010, 08:39:58 pm »
Hi,
Is it possible to disable the mouse completely in Fullscreen Mode? It would be best if you wouldn't be able to use it as I'm programming a game, which is only controled by the keyboard.
greetz, Eldo .
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Disable the mouse in Fullscreen Mode
«
Reply #1 on:
May 23, 2010, 08:52:42 pm »
You can hide it with window.ShowMouseCursor(false). Then there's no need to disable it, just don't use the mouse events/input in your program.
Logged
Laurent Gomila - SFML developer
VanEldo
Newbie
Posts: 12
Disable the mouse in Fullscreen Mode
«
Reply #2 on:
May 24, 2010, 10:32:16 am »
Thanks a lot Laurent
. You are right, there is no need to disable it.
Keep on the great work!
greetz, Eldo.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
Disable the mouse in Fullscreen Mode