ReactOS 0.4.16-dev-197-g92996da
|
#include "ntvdm.h"
#include <debug.h>
#include "mouse.h"
#include "ps2.h"
#include "clock.h"
#include "video/svga.h"
#include "../console/video.h"
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Functions | |
static VOID | MouseResetConfig (VOID) |
static VOID | MouseResetCounters (VOID) |
static VOID | MouseReset (VOID) |
static VOID | MouseGetPacket (PMOUSE_PACKET Packet) |
static VOID | MouseDispatchPacket (PMOUSE_PACKET Packet) |
static VOID WINAPI | MouseCommand (LPVOID Param, BYTE Command) |
static VOID FASTCALL | MouseStreamingCallback (ULONGLONG ElapsedTime) |
VOID | MouseGetDataFast (PCOORD CurrentPosition, PBYTE CurrentButtonState) |
VOID | MouseEventHandler (PMOUSE_EVENT_RECORD MouseEvent) |
BOOLEAN | MouseInit (BYTE PS2Connector) |
Variables | |
static const BYTE | ScrollMagic [3] = { 200, 100, 80 } |
static const BYTE | ExtraButtonMagic [3] = { 200, 200, 80 } |
static HANDLE | MouseMutex |
static PHARDWARE_TIMER | StreamTimer |
static MOUSE_PACKET | LastPacket |
static MOUSE_MODE | Mode |
static MOUSE_MODE | PreviousMode |
static COORD | Position |
static BYTE | Resolution |
static BOOLEAN | Scaling |
static BOOLEAN | MouseReporting = FALSE |
static BYTE | MouseId |
static ULONG | ButtonState |
static SHORT | HorzCounter |
static SHORT | VertCounter |
static CHAR | ScrollCounter |
static BOOLEAN | EventsOccurred = FALSE |
static BYTE | MouseDataByteWait = 0 |
static BYTE | ScrollMagicCounter = 0 |
static BYTE | ExtraButtonMagicCounter = 0 |
static UINT | MouseCycles = 10 |
static BYTE | MousePS2Port = 1 |
Definition at line 155 of file mouse.c.
Referenced by MouseInit().
|
static |
Definition at line 147 of file mouse.c.
Referenced by MouseCommand(), and MouseStreamingCallback().
VOID MouseEventHandler | ( | PMOUSE_EVENT_RECORD | MouseEvent | ) |
Definition at line 427 of file mouse.c.
Referenced by ConsoleEventThread().
|
static |
Definition at line 82 of file mouse.c.
Referenced by MouseCommand(), and MouseStreamingCallback().
Definition at line 464 of file mouse.c.
Referenced by EmulatorInitialize().
Definition at line 70 of file mouse.c.
Referenced by MouseCommand(), and MouseInit().
Definition at line 55 of file mouse.c.
Referenced by MouseCommand(), and MouseReset().
Definition at line 64 of file mouse.c.
Referenced by MouseCommand(), MouseGetPacket(), and MouseReset().
Definition at line 404 of file mouse.c.
Referenced by MouseInit().
|
static |
Definition at line 43 of file mouse.c.
Referenced by MouseEventHandler(), and MouseStreamingCallback().
Definition at line 28 of file mouse.c.
Referenced by MouseCommand().
|
static |
Definition at line 45 of file mouse.c.
Referenced by MouseCommand(), and MouseReset().
|
static |
Definition at line 40 of file mouse.c.
Referenced by MouseEventHandler(), MouseGetPacket(), and MouseResetCounters().
|
static |
Definition at line 32 of file mouse.c.
Referenced by MouseCommand(), and MouseStreamingCallback().
|
static |
Definition at line 33 of file mouse.c.
Referenced by MouseCommand(), MouseReset(), and MouseStreamingCallback().
|
static |
Definition at line 47 of file mouse.c.
Referenced by MouseCommand(), and MouseResetConfig().
|
static |
Definition at line 44 of file mouse.c.
Referenced by MouseCommand().
|
static |
Definition at line 38 of file mouse.c.
Referenced by MouseCommand(), MouseDispatchPacket(), MouseGetPacket(), and MouseReset().
|
static |
Definition at line 30 of file mouse.c.
Referenced by MouseEventHandler(), MouseGetDataFast(), MouseGetPacket(), and MouseInit().
|
static |
Definition at line 49 of file mouse.c.
Referenced by MouseCommand(), MouseDispatchPacket(), and MouseInit().
Definition at line 37 of file mouse.c.
Referenced by MouseCommand(), MouseResetConfig(), and MouseStreamingCallback().
|
static |
Definition at line 34 of file mouse.c.
Referenced by AcpiDsGetFieldNames(), AcpiUtHexToAsciiChar(), AcpiUtValidNameChar(), AddEntryToList(), ArcSeek(), BtrFsSeek(), CTrayWindow::CalculateValidSize(), CallMouseUserHandlers(), ConDrvSetConsoleCursorPosition(), d3dx9_set_light_parameter(), DECLARE_INTERFACE_(), disk_read(), DiskSeek(), DoNotifyPositionEvents(), DosMouseIrq(), DosMouseService(), Ext2Mount(), Ext2ReadSuperBlock(), Ext2ReadVolumeSectors(), Ext2Seek(), FatMount(), FatReadVolumeSectors(), FatSeek(), FinishDlgProc(), FlatBuf_Arg_CopyMemory(), FlatBuf_Arg_Reserve(), FlatBuf_Arg_ReserveAlignPointer(), FlatBuf_Arg_WriteString(), FromMouseCoordinates(), FsRtlIsDbcsInExpression(), FsRtlIsNameInExpressionPrivate(), CPortPinWaveCyclic::GeneratePositionEvents(), CIconWatcher::GetListEntry(), CTrayWindow::GetTrayRectFromScreenRect(), HistoryRecallHistory(), IDirectSoundCaptureBufferImpl_GetCurrentPosition(), IncrementProgressBar(), InsertTabCtrlItem(), IopReadBootRecord(), IsoBufferDirectory(), IsoLookupFile(), IsoMount(), IsoRead(), IsoSeek(), iterator_visibleitems(), KsGetMediaType(), LineInputRecallHistory(), LISTVIEW_FindItemW(), LISTVIEW_GetItemBox(), LISTVIEW_GetItemRect(), LISTVIEW_HitTest(), LISTVIEW_InvalidateSubItem(), LISTVIEW_IsItemVisible(), LISTVIEW_RefreshList(), LISTVIEW_RefreshOwnerDraw(), LISTVIEW_RefreshReport(), CTrayWindow::MakeTrayRectWithSize(), MiniportSend(), MixerThreadRoutine(), MMixerGetWavePosition(), MouseEventHandler(), MouseGetDataFast(), NtfsDiskRead(), NtfsMount(), NtfsSeek(), PeLdrLoadImage(), PrimaryDirectSoundBuffer_GetPosition(), PxeSeek(), RamDiskLoadVirtualFile(), RamDiskSeek(), read_bitmap_patterns(), read_metadata_patterns(), RegLoadHiveLog(), RestartDlgProc(), RosSymIoSeekFile(), RosSymZwSeekFile(), RtlComputePrivatizedDllName_U(), RtlFindCharInUnicodeString(), RtlFindClearBitsAndSet(), RtlFindLeastSignificantBit(), RtlFindMostSignificantBit(), RtlFindSetBitsAndClear(), RtlGetLengthWithoutLastFullDosOrNtPathElement(), TestFindCharInUnicodeString(), ToMouseCoordinates(), UefiDiskSeek(), CPortPinWaveCyclic::UpdateCommonBuffer(), CPortPinWaveCyclic::UpdateCommonBufferOverlap(), UpdateDialogLineSliderControl(), VgaConsoleUpdateTextCursor(), VTUTF8ChannelOFlush(), WdmAudGetPosition(), WdmAudGetWavePositionByMMixer(), and CConsole::WriteString().
|
static |
Definition at line 33 of file mouse.c.
Referenced by MouseCommand().
|
static |
Definition at line 35 of file mouse.c.
Referenced by AcpiGetTimerResolution(), AttachToConsoleInternal(), BiosMousePs2Interface(), BlDisplayGetScreenResolution(), ClockPropertyResolution(), DosUpdatePosition(), FromMouseCoordinates(), IKsPin_DispatchCreateClock(), IKsReferenceClock_fnGetResolution(), KsAllocateDefaultClockEx(), CKsProxy::KsGetResolution(), MouseCommand(), MouseResetConfig(), ResizeTextConsole(), SetConsoleState(), SetConsoleStateOld(), START_TEST(), ToMouseCoordinates(), VgaConsoleCreateGraphicsScreen(), VgaConsoleCreateTextScreen(), VgaEnterNewMode(), VgaGetDisplayResolution(), and VidBiosSetVideoMode().
|
static |
Definition at line 36 of file mouse.c.
Referenced by MouseCommand(), and MouseResetConfig().
|
static |
Definition at line 42 of file mouse.c.
Referenced by MouseEventHandler(), MouseGetPacket(), and MouseResetCounters().
Definition at line 27 of file mouse.c.
Referenced by MouseCommand().
|
static |
Definition at line 45 of file mouse.c.
Referenced by MouseCommand(), and MouseReset().
|
static |
Definition at line 31 of file mouse.c.
Referenced by MouseInit().
|
static |
Definition at line 41 of file mouse.c.
Referenced by MouseEventHandler(), MouseGetPacket(), and MouseResetCounters().