kingm56 Posted February 23, 2022 Report Share Posted February 23, 2022 John, Any plans to include joystick inputs via Offset x2910? The current documentation states untested; hoping you have plans to test and implement. Thank you, sir! Matt Link to comment Share on other sites More sharing options...
John Dowson Posted February 23, 2022 Report Share Posted February 23, 2022 1 hour ago, kingm56 said: Any plans to include joystick inputs via Offset x2910? The current documentation states untested; hoping you have plans to test and implement. Thank you, sir! it is untested but should be working. If you want to use it, go ahead. Report back if you have any issues and I will look into it. In fact, report back if it works as well and I will update the documentation to state it us working. Most, if not all, of the offsets marked as untested should work ok. John Link to comment Share on other sites More sharing options...
kingm56 Posted February 25, 2022 Author Report Share Posted February 25, 2022 Hey John! It doesn't appear to be working. I confirmed with Paul over at his .dll forum; if you could add to your long list of offsets to work Id be grateful. Matt Link to comment Share on other sites More sharing options...
John Dowson Posted February 25, 2022 Report Share Posted February 25, 2022 4 hours ago, kingm56 said: It doesn't appear to be working. Ok. I will check this when I get a chance and report back. John Link to comment Share on other sites More sharing options...
John Dowson Posted February 25, 2022 Report Share Posted February 25, 2022 7 hours ago, John Dowson said: Ok. I will check this when I get a chance and report back. Seems to be working fine as far as I can tell. I tested with the following lua script: Quote -- Hot Button test at offset 0x2910 -- First, write to offset to signal the button I am interested in -- I will use my joystick #1 button #6 for both off to on and in to off ipc.writeUD(0x2910, 0x000681) -- where 0x81 (129) is joystick 1, 06 is button 6 and 00 is for off-to-on -- function to register change function hotButtonActivated(offset, value) if value ~= 0 then ipc.log("Hot button changed: " .. value) -- clear flag ipc.writeUB(offset, 0); end end -- event on trigger event.offset(0x2913, "UB", "hotButtonActivated") When it is running and I press my joystick#1 button 6, I see 822891 LUA.6: Hot button changed: 3 I suggest you check how you are using this offset. John Link to comment Share on other sites More sharing options...
kingm56 Posted February 26, 2022 Author Report Share Posted February 26, 2022 Thanks for checking, John. I'm accessing via Paul's dll; so, it's probably on that end. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now