---
name: "SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE"
---

# SDL\_HINT\_MOUSE\_RELATIVE\_SYSTEM\_SCALE(3)

A variable controlling whether the system mouse acceleration curve is used for relative mouse motion.

## NAME

SDL\_HINT\_MOUSE\_RELATIVE\_SYSTEM\_SCALE - A variable controlling whether the system mouse acceleration curve is used for relative mouse motion.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_MOUSE\_RELATIVE\_SYSTEM\_SCALE** *SDL\_MOUSE\_RELATIVE\_SYSTEM\_SCALE"*

## DESCRIPTION

The variable can be set to the following values:

• "0": Relative mouse motion will be unscaled. (default)

• "1": Relative mouse motion will be scaled using the system mouse\
   acceleration curve.

If

**SDL\_HINT\_MOUSE\_RELATIVE\_SPEED\_SCALE**

is set, that will be applied after system speed scale.

This hint can be set anytime.

## AVAILABILITY

This hint is available since SDL 3.2.0.
