---
name: "SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
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_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
---

# SDL\_HINT\_MAC\_CTRL\_CLICK\_EMULATE\_RIGHT\_CLICK(3)

A variable that determines whether Ctrl+Click should generate a right-click event on macOS.

## NAME

SDL\_HINT\_MAC\_CTRL\_CLICK\_EMULATE\_RIGHT\_CLICK - A variable that determines whether Ctrl+Click should generate a right-click event on macOS.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_MAC\_CTRL\_CLICK\_EMULATE\_RIGHT\_CLICK** *SDL\_MAC\_CTRL\_CLICK\_EMULATE\_RIGHT\_CLICK"*

## DESCRIPTION

The variable can be set to the following values:

• "0": Ctrl+Click does not generate a right mouse button click event.\
   (default)

• "1": Ctrl+Click generated a right mouse button click event.

This hint can be set anytime.

## AVAILABILITY

This hint is available since SDL 3.2.0.
