Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stonesense doesn't receive input on OS X #32

Open
lethosor opened this issue Jan 21, 2015 · 10 comments
Open

Stonesense doesn't receive input on OS X #32

lethosor opened this issue Jan 21, 2015 · 10 comments
Labels

Comments

@lethosor
Copy link
Member

All input to the Stonesense window is passed to DF (regardless of whether the overlay is in use or not).
@danaris

@lethosor
Copy link
Member Author

Neither upgrading the allegro libraries or removing the SDL_PollEvent hook seem to fix this.

@Stefan-Zukin
Copy link

I'm having the same issue. No keyboard controls work, but it seems mouse controls work. Using LNP on OSX 10.11. Overall not too big an issue, still get the visual and all that works well, but it would be nice to be able to control it a bit.

@RosaryMala
Copy link
Member

Yeah, this isn't fixable without a complete re-write of stonesense, which
I've started, but I don't expect to have anything working anytime soon.

On 25-Jul-2016 12:28 pm, "Stefan Zukin" notifications@github.com wrote:

I'm having the same issue. No keyboard controls work, but it seems mouse
controls work. Using LNP on OSX 10.11. Overall not too big an issue, still
get the visual and all that works well, but it would be nice to be able to
control it a bit.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#32 (comment),
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AARm3cgmpECN5frIRQllgdh0W8H-HvP0ks5qZF6qgaJpZM4DU9_l
.

@Stefan-Zukin
Copy link

Okay. As is I got to see the chaos created by opening the floodgate on my dwarf-made waterfall and pump system, so I'm pretty happy with it. :)

@lethosor
Copy link
Member Author

Well, it's mainly making Stonesense run standalone that's the bulk of the work (although it's not easy). @JapaMala, doesn't it already use RemoteFortressReader for some things?

@RosaryMala
Copy link
Member

Only very few things, like tree raws.

On 26-Jul-2016 4:28 am, "Lethosor" notifications@github.com wrote:

Well, it's mainly making Stonesense run standalone that's the bulk of the
work (although it's not easy). @JapaMala https://github.com/JapaMala,
doesn't it already use RemoteFortressReader for some things?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#32 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARm3aznEpUfmYgqMbtkCqLuRKK99t1Xks5qZT9-gaJpZM4DU9_l
.

@Equilibrium94
Copy link

I'm having a similar problem on Windows. When I run stonesense with no overlay the controls work fine. However, when I run stone sense with overlay I can't figure out how I can do things like zoom in or zoom out or cut walls etc. Is it possible to pass input to stonesense with overlay on windows? Or even Linux?

@lethosor
Copy link
Member Author

lethosor commented Jul 1, 2019

Because the overlay is running in the DF window, all input goes to DF (except maybe mouse input in the overlay area). Not sure there's a clean way to pass keyboard input to stonesense in any case - did you have something in mind?

@Equilibrium94
Copy link

Hmm I would really like to be able to zoom in. Maybe there is a config file I can set to determine default zoom level? It would also be nice to pull down the walls. The "c" key usually does that. Since, we can only get mouse input, would it be too hard to make double click replace the "c" command? Or perhaps you can think of a "dirty" way to make the controls work that wouldn't take too much effort? I don't mind difficult to use interface, but having to play zoomed out is kinda rough for me.

@lethosor
Copy link
Member Author

lethosor commented Jul 2, 2019

I haven't actually worked with the overlay (not sure if anyone who has is still active); I just know how it works at a high level. It was released as an experimental feature and never really got finished.
For zooming, I'd think the scroll wheel would work pretty well, and it shouldn't be too hard to restrict it to when the mouse is over the overlay window itself (at least it's not hard with DF's SDL layer; Stonesense bypasses that and uses Allegro, which I've never really worked with).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants