MCPcopy Create free account
hub / github.com/diasurgical/devilution / position_for_mouse

Function position_for_mouse

SourceX/miniwin/misc_msg.cpp:247–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245namespace {
246
247LPARAM position_for_mouse(short x, short y)
248{
249 return (((uint16_t)(y & 0xFFFF)) << 16) | (uint16_t)(x & 0xFFFF);
250}
251
252WPARAM keystate_for_mouse(WPARAM ret)
253{

Callers 1

PeekMessageAFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected