John Dowson Posted March 8, 2022 Report Posted March 8, 2022 10 minutes ago, Iceking007 said: So format would be: [Keys] n=CP(F+121,11)121,11,C# Actually no, sorry - no compound conditions on key presses - the documentation says that offset conditions apply, not compound conditions. But why don't you assign and use an offset (or two) to determine what your key presses send? Otherwise then it looks like you will have to use lua.
Iceking007 Posted March 8, 2022 Author Report Posted March 8, 2022 Offsets are still very confusing to me... I'm not even sure how you envision that working. But in my Lua script I was adding some offsets to read values... so that's a start. However a Mentone I can't even get it loaded. Thank you for all the help John. I'm sorry I wasted your time.
John Dowson Posted March 8, 2022 Report Posted March 8, 2022 1 minute ago, Iceking007 said: I'm not even sure how you envision that working. You want to check the status of a button flag when you press a key. As you can't do this, you can use an offset instead. So you would set an offset when the button is pressed, cleat it when released, and on the key assignment you can then check if that offset is set or not, and have your assignments accordingly. Not sure why you can't get a lua script running... 4 minutes ago, Iceking007 said: I'm sorry I wasted your time. No problem. Should have figured out what you were trying to do wasn't possible much earlier... John
John Dowson Posted March 8, 2022 Report Posted March 8, 2022 Actually, with offset conditions, you could make your key presses conditional on the state of the bits in a button flag offset. You would need to determine what offset/bit held the state for the button and use that. Logging the offsets (in hex) would help.
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