pub const SDL_HINT_MOUSE_RELATIVE_SCALING: &[u8];
Expand description

A variable controlling whether relative mouse motion is affected by renderer scaling

This variable can be set to the following 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

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