diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-12-05 15:26:21 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-08-24 12:33:03 +0200 |
commit | 2fa63f8576e5d1c632efeeb2c185f11e943899d8 (patch) | |
tree | 9a4e68d8be1ff669c2c07b95380ba4a0a71a3e6d /common/rfb/ledStates.h | |
parent | 82e753d4e1928342c82cc7b82e854aa2666d1145 (diff) | |
download | tigervnc-2fa63f8576e5d1c632efeeb2c185f11e943899d8.tar.gz tigervnc-2fa63f8576e5d1c632efeeb2c185f11e943899d8.zip |
Add client support for LED state sync
Diffstat (limited to 'common/rfb/ledStates.h')
-rw-r--r-- | common/rfb/ledStates.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/common/rfb/ledStates.h b/common/rfb/ledStates.h new file mode 100644 index 00000000..ef146828 --- /dev/null +++ b/common/rfb/ledStates.h @@ -0,0 +1,30 @@ +/* Copyright 2016 Pierre Ossman for Cendio AB + * + * This is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + * USA. + */ +#ifndef __RFB_LEDSTATES_H__ +#define __RFB_LEDSTATES_H__ + +namespace rfb { + + const unsigned int ledScrollLock = 1 << 0; + const unsigned int ledNumLock = 1 << 1; + const unsigned int ledCapsLock = 1 << 2; + + const unsigned int ledUnknown = (unsigned int)-1; +} + +#endif |