SDL Wiki

SDL_HINT_MOUSE_RELATIVE_SCALING

A hint that specifies whether relative motion is affected by renderer scaling.

Values

0

Relative motion is unaffected by DPI or renderer's logical size

1

Relative motion is scaled according to DPI scaling and logical size

Default

By default relative mouse deltas are affected by DPI and renderer scaling

Version

This hint is available since SDL 2.0.14.


CategoryDefine, CategoryHints


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.