emist / Eryan

Eryan EVE Bot platform
19 stars 8 forks source link

Function Keys #2

Closed dambrisco closed 13 years ago

dambrisco commented 13 years ago

See http://eryanbot.com/forum/viewtopic.php?f=14&t=88

I checked the values you have in VKeys against MSDN's list and it's all good, so something else must be happening. Is it possible that PostMessage needs a different lparam for such keys? Or is EVE doing something obnoxious?

I'm tempted to think it's an LPARAM issue, and I'm hoping it is one. Should the LPARAM be changed to 0x001D0001? I'm fuzzy on the difference between that and 0x00140001, but it seems pretty common to use that any time you're using function keys.

emist commented 13 years ago

What method of keyboard are you using to send them?

dambrisco commented 13 years ago

sendChar - let's just use this if that works for you. Close out the thread on the forums if you'd like. We can always post briefs of the bugs on the forum as needed.

emist commented 13 years ago

Did you get around to playing with this yet?

dambrisco commented 13 years ago

I PM'd you a link a while ago to a full list of the scan keys, but I haven't had a chance to try to tie it in yet, myself.

If you don't have the link handy, it's http://dambrisco.com/eryan/VKeysScan.cs - couldn't find anything for a couple keys and F11 and F12 might need the extended flag, but it's almost all there. I should have a little more time this week to try to tie it in if you don't get to it before I can.

emist commented 13 years ago

Ok, I should have time to go back to deving again after tomorrow so I might be able to get around to it if you haven't as well.

emist commented 13 years ago

Fixed