# KEYC_MAKE_MOUSE_KEY

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L259
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-define-tmux-h-keyc_make_mouse_key/

```c
#define KEYC_MAKE_MOUSE_KEY(t, b, l) ((KEYC_SHIFT_TYPE(t)) |                                 \
 ((unsigned long long)(b) << KEYC_MOUSE_BUTTON_SHIFT) | \
     ((unsigned long long)(l) << KEYC_MOUSE_LOCATION_SHIFT))
```

## Referenced by

- [`KEYC_MOUSE_KEY`](/en/tmux/3.7c/reference/c-define-tmux-h-keyc_mouse_key/) (constant)
- [`server_client_check_mouse`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_check_mouse/) (function)

## Referenced declarations

- [`KEYC_MOUSE_BUTTON_SHIFT`](/en/tmux/3.7c/reference/c-define-tmux-h-keyc_mouse_button_shift/) (constant)
- [`KEYC_MOUSE_LOCATION_SHIFT`](/en/tmux/3.7c/reference/c-define-tmux-h-keyc_mouse_location_shift/) (constant)
- [`KEYC_SHIFT_TYPE`](/en/tmux/3.7c/reference/c-define-tmux-h-keyc_shift_type/) (constant)
