DerRidda Posted August 28, 2014 Share Posted August 28, 2014 The title says it all. It seems like I would have to iterate through all valid keys/mouse buttons if I just wanted to know what was just pressed/what is held down without having any expectation of what should be pressed/down. I just wanted to find out how Leadwerks deals with keys not found on a US keyboard like (Ä, Ö, Ü) and mice with more than three buttons. I couldn't find anything that would just get an input event and tell me what it is. This would also be very useful in dealing with options menus for key rebinding though this is still doable with iterating through all valid keys it just seems simpler and more powerful to just get the input event. 1 Quote Link to comment Share on other sites More sharing options...
DerRidda Posted August 30, 2014 Author Share Posted August 30, 2014 Also, the documentation doesn't seem to say anything about checking for mouse wheel scrolling (in Lua). Am I missing something? This seems like something very basic missing. Quote Link to comment Share on other sites More sharing options...
macklebee Posted August 30, 2014 Share Posted August 30, 2014 Also, the documentation doesn't seem to say anything about checking for mouse wheel scrolling (in Lua). Am I missing something? self.window:GetMousePosition().z http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/window/windowgetmouseposition-r455 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
DerRidda Posted August 30, 2014 Author Share Posted August 30, 2014 Oi, thanks, if you know where to look. Quote Link to comment Share on other sites More sharing options...
DerRidda Posted August 30, 2014 Author Share Posted August 30, 2014 I have the darnest feeling that this might not be implemented under Linux. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.