NekoWM
A gfxprim proxy backend tiling window manager
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations | Functions | Variables
neko_keybindings.h File Reference

Default key bindings. More...

#include <stdint.h>
#include <input/gp_event_keys.h>

Go to the source code of this file.

Data Structures

struct  neko_keybinding
 Keybinding. More...
 

Macros

#define NEKO_KEYS_MOD_WM   neko_keybindings[NEKO_KEYS_MOD_WM_IDX].key
 Modifier key needed to be pressed to send keypresses to the WM.
 
#define NEKO_KEYS_QUIT   neko_keybindings[NEKO_KEYS_QUIT_IDX].key
 Quits the current app.
 
#define NEKO_KEYS_EXIT   neko_keybindings[NEKO_KEYS_EXIT_IDX].key
 Exits the WM.
 
#define NEKO_KEYS_FORCE   neko_keybindings[NEKO_KEYS_FORCE_IDX].key
 Key to force neko exit or poweroff.
 
#define NEKO_KEYS_LIST_APPS   neko_keybindings[NEKO_KEYS_LIST_APPS_IDX].key
 Go to the list of running applications.
 
#define NEKO_KEYS_APP_LAUNCHER   neko_keybindings[NEKO_KEYS_APP_LAUNCHER_IDX].key
 Show application launcher.
 
#define NEKO_KEYS_SWITCH_FOCUS   neko_keybindings[NEKO_KEYS_SWITCH_FOCUS_IDX].key
 Switch focus between views in split screen.
 
#define NEKO_KEYS_VIRT_SCREENS_LEFT   neko_keybindings[NEKO_KEYS_VIRT_SCREENS_LEFT_IDX].key
 Moves virtual screens left.
 
#define NEKO_KEYS_VIRT_SCREENS_RIGHT   neko_keybindings[NEKO_KEYS_VIRT_SCREENS_RIGHT_IDX].key
 Moves virtual screens right.
 
#define NEKO_KEYS_ROTATE   neko_keybindings[NEKO_KEYS_ROTATE_IDX].key
 Rotate screen left.
 
#define NEKO_KEYS_HELP   neko_keybindings[NEKO_KEYS_HELP_IDX].key
 Displays a help.
 

Enumerations

enum  neko_keybindings_idx
 Indexes into neko_keybindings array.
 

Functions

void neko_load_keybindings (void)
 Loads keybindings from a file.
 

Variables

struct neko_keybinding neko_keybindings []
 Array to store the keybindings to.
 

Detailed Description

Default key bindings.

Definition in file neko_keybindings.h.