Skip to content

Commit

Permalink
renamed _header to _h
Browse files Browse the repository at this point in the history
  • Loading branch information
donniebreve committed May 31, 2022
1 parent 3a4c9b7 commit e02789f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/binding.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef binding_header
#define binding_header
#ifndef binding_h
#define binding_h

/**
* @brief The highest input event code to enable key events handling for.
Expand Down
4 changes: 2 additions & 2 deletions src/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef config_header
#define config_header
#ifndef config_h
#define config_h

/**
* The event path for the device.
Expand Down
4 changes: 2 additions & 2 deletions src/emit.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef emit_header
#define emit_header
#ifndef emit_h
#define emit_h

/**
* Emits a key event.
Expand Down
10 changes: 5 additions & 5 deletions src/keys.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#ifndef keys_header
#define keys_header
#ifndef keys_h
#define keys_h

// These are included for kernel v5.4 support (Ubuntu LTS)
// and can be safely removed after Ubuntu LTS updates (2025! :D)
#ifndef KEY_NOTIFICATION_CENTER
#define KEY_NOTIFICATION_CENTER 0x1bc
#endif
#ifndef KEY_PICKUP_PHONE
#define KEY_PICKUP_PHONE 0x1bd
#define KEY_PICKUP_PHONE 0x1bd
#endif
#ifndef KEY_HANGUP_PHONE
#define KEY_HANGUP_PHONE 0x1be
#define KEY_HANGUP_PHONE 0x1be
#endif
#ifndef KEY_FN_RIGHT_SHIFT
#define KEY_FN_RIGHT_SHIFT 0x1e5
#define KEY_FN_RIGHT_SHIFT 0x1e5
#endif

/**
Expand Down
4 changes: 2 additions & 2 deletions src/queue.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef queue_header
#define queue_header
#ifndef queue_h
#define queue_h

/**
* Clears the queue.
Expand Down

0 comments on commit e02789f

Please # to comment.