]> source.dussan.org Git - tigervnc.git/commit
rfb_win32: Add support for LED state notifications
authorRahul Kale <Rahul.Kale@barco.com>
Wed, 12 Jul 2017 22:36:02 +0000 (00:36 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 28 Aug 2017 11:54:30 +0000 (13:54 +0200)
commitc719e4a0c9e1e3e5b7d22aa42cdaedda3cb06803
treed8ea6cc28e04a67826cae98381cfec13c09f72a2
parent5b7ff372678747d0538cf688f5aac01b5a3b1518
rfb_win32: Add support for LED state notifications

LED support added using Windows GetKeyState() API call.

The state is polled for change in CapsLock/NumLock/ScrollLock
status in the same code block where chages to Cursor shape is polled.

Signed-off-by: Rahul Kale <Rahul.Kale@barco.com>
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
win/rfb_win32/SDisplay.cxx
win/rfb_win32/SDisplay.h