aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/SInput.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Split SystemException to handle WindowsPierre Ossman2024-10-091-1/+1
| | | | | | | | | | | | | Windows has (at least) two error namespaces, both errno and GetLastResult(). These overlap, so it is important we keep track of which one we are dealing with. To make things extra problematic, the BSD socket API normally uses errno, but on Windows it has been mapped in to the GetLastResult() namespace. Try to keep better control of this by using separate classes for the namespaces.
* Better type for pointer button maskPierre Ossman2024-08-121-1/+1
| | | | | This is a very limited bit field, so use an 8 bit type to clearly show how many bits are available.
* Use operator overloading for comparisonPierre Ossman2023-02-041-1/+1
| | | | | It is much more natural than custom methods for this very common operation.
* Get rid of TCHAR magicPierre Ossman2023-02-041-1/+0
| | | | | We never use Windows' "UNICODE" mode anyway, so let's get rid of this complexity.
* Use stdint typesPierre Ossman2023-02-011-8/+8
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Be consistent in including config.hPierre Ossman2021-12-301-0/+4
| | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* Handle Ctrl+Alt+Delete in raw keyboard modePierre Ossman2017-11-131-0/+8
| | | | | Ctrl+Alt+Delete requires special handling to trigger on Windows. Make sure this works in raw keyboard mode as well.
* Handle Windows scan code exceptionsPierre Ossman2017-11-131-0/+23
| | | | | Windows mostly follows the AT set 1 scan codes that we want, but there are a few exceptions.
* rfb_win32: Use scan codes if availableRahul Kale2017-09-111-0/+35
| | | | | | | | | | | If scan codes are available using QEMU Extended Keyboard Messages from clients, use that to inject scancodes directly into the system using the SendInput API. No conversion is needed as Windows uses the same scancode encoding. Signed-off-by: Rahul Kale <Rahul.Kale@barco.com> Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
* Basic support for QEMU Extended Key EventsPierre Ossman2017-08-281-1/+1
| | | | | | This adds the basic infrastructure and handshake for the QEMU Extended Key Events extension. No viewer or server makes use of the extra functionality yet though.
* Remove legacy Windows codePierre Ossman2016-01-121-54/+12
| | | | | We have lots of code that deals with Windows versions that we no longer support anyway. Clean out all of this old cruft.
* Fix some bad signed/unsigned mismatchesPierre Ossman2015-06-171-1/+1
|
* Fix mismatches between format string and argumentsPierre Ossman2015-03-031-2/+2
|
* Eliminated signed/unsigned warnings. Peter Åstrand2010-02-101-6/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3977 3789f03b-4d11-0410-bbf8-ca57d06f2519
* MinGW tweak: Only define RFB_HAVE_SENDINPUT is we have MOUSEEVENTF_VIRTUALDESK.Peter Åstrand2008-12-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3335 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+466
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@591 3789f03b-4d11-0410-bbf8-ca57d06f2519