22#include <kiwano/macros.h>
122inline KeyCode operator+(KeyCode lhs,
int rhs)
noexcept
124 return KeyCode(
int(lhs) + rhs);
127inline KeyCode operator-(KeyCode lhs,
int rhs)
noexcept
129 return KeyCode(
int(lhs) - rhs);
132inline KeyCode operator+(
int lhs, KeyCode rhs)
noexcept
134 return KeyCode(lhs +
int(rhs));
137inline KeyCode operator-(
int lhs, KeyCode rhs)
noexcept
139 return KeyCode(lhs -
int(rhs));
142inline int operator-(KeyCode lhs, KeyCode rhs)
noexcept
144 return int(lhs) - int(rhs);