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

KeystrokePacket seems to have moved #147

Open
StarryWisdom opened this issue Mar 31, 2018 · 2 comments
Open

KeystrokePacket seems to have moved #147

StarryWisdom opened this issue Mar 31, 2018 · 2 comments

Comments

@StarryWisdom
Copy link
Collaborator

KeystrokePacket (valueInt:0x14) seems to have relocated to (valueInt:0x16)
I have slight memory this was the case in 2.6 but do not have the tools to test at the moment
presumably this happened in 2.3/2.4 days given the nearby valueInt renumbering
no idea what valueInt:x14 is currently

@StarryWisdom StarryWisdom changed the title KeystrokePacket seems to have move KeystrokePacket seems to have moved Mar 31, 2018
@NoseyNick
Copy link
Collaborator

Looks like valueInt:0x14 is still used for GM keystrokes, valueInt:0x16 might be used for "other consoles" after 0xf754c8fe:0x11 KeyCaptureToggle? Here's both...

3c1d824c1400000041000000 # payload
3c1d824c16000000410000004100 # payload
3c1d824c1400000042000000 # payload
3c1d824c16000000420000004200 # payload
3c1d824c1400000043000000 # payload
3c1d824c16000000430000004300 # payload

Looks like
valueInt = 0x4c821d3c
subtype = 0x16
int keystroke
short keystroke (WHY?!?)

Researching. My parser currently misinterprets this as an old SetShipSettings, and assumes it should auto-downgrade the protocol version ☹️

@StarryWisdom
Copy link
Collaborator Author

im wondering if one of the keystroke types is raw scancode and one is a conversion to unicode or something like that - I wonder what happens with non ascii symbols

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

No branches or pull requests

2 participants