Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Can SFML press a mouse/keyboard button?
Print
Pages: [
1
]
Author
Topic: Can SFML press a mouse/keyboard button? (Read 2328 times)
0 Members and 1 Guest are viewing this topic.
Ruckamongus
Jr. Member
Posts: 70
Can SFML press a mouse/keyboard button?
«
on:
November 10, 2012, 10:44:55 pm »
Title says it all, can SFML press an I/O button? For example I can control the global location of the mouse with set position, but can I have it click at a given time, etc?
Thanks!
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: Can SFML press a mouse/keyboard button?
«
Reply #1 on:
November 10, 2012, 11:30:32 pm »
No, you'll have to use some OS specific function on your own.
If you want to simulate clicks/keyboard input then you might want to use other tools like
AutoHotKey
.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Ruckamongus
Jr. Member
Posts: 70
Re: Can SFML press a mouse/keyboard button?
«
Reply #2 on:
November 10, 2012, 11:45:55 pm »
Thanks for the tip, I figured it'd have to be OS specific. I made a little app that controls my mouse... with my Xbox 360 controller! Ultimately laziness
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Can SFML press a mouse/keyboard button?