I'm struggling with getting the fast forward button to behave correctly. And I think we might need another window event for releasing a pressed key. Here's the problem:
The fast forward button is activated when you click on it. But when you press and hold the tab key, it remains as it is. The state of the button can only be changed upon an event. But only changing it when tab is being pressed isn't sufficent. Because it has to switch back to "unpressed" once a user releases the tab key.
Does anyone have a clever idea how to do this or do we really have to add another event?
WE_KEYRELEASED event required?
Moderator: OpenTTD Developers
WE_KEYRELEASED event required?
"There's a readme that comes with the source. I suggest you read it."
- Korenn
- Korenn
Who is online
Users browsing this forum: No registered users and 31 guests