# KEYC_IS_USER

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

```c
#define KEYC_IS_USER(key) (((key) & KEYC_MASK_TYPE) == KEYC_SHIFT_TYPE(KEYC_TYPE_USER))
```

## Referenced by

- [`input_key`](/en/tmux/latest/reference/c-function-input_key/) (function)
- [`key_string_lookup_key`](/en/tmux/latest/reference/c-function-key_string_lookup_key/) (function)

## Referenced declarations

- [`KEYC_MASK_TYPE`](/en/tmux/latest/reference/c-define-tmux-h-keyc_mask_type/) (constant)
- [`KEYC_SHIFT_TYPE`](/en/tmux/latest/reference/c-define-tmux-h-keyc_shift_type/) (constant)
- [`KEYC_TYPE_USER`](/en/tmux/latest/reference/c-enum-key_code_type-keyc_type_user/) (constant)
