doom3-gpl
Doom 3 GPL source release
|
#import "../../idlib/precompiled.h"
#import "macosx_local.h"
#import "macosx_sys.h"
#import <AppKit/NSCursor.h>
#import <AppKit/NSWindow.h>
#import <AppKit/NSScreen.h>
#import <AppKit/NSApplication.h>
#import <AppKit/NSGraphicsContext.h>
#import <AppKit/NSEvent.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSString.h>
#import <Foundation/NSRunLoop.h>
#import <Carbon/Carbon.h>
#import <ApplicationServices/ApplicationServices.h>
#import <sys/types.h>
#import <sys/time.h>
#import <unistd.h>
#include <pthread.h>
Go to the source code of this file.
Functions | |
void | Sys_InitScanTable (void) |
void | Sys_InitInput (void) |
void | Sys_ShutdownInput (void) |
void | processMouseMovedEvent (NSEvent *mouseMovedEvent) |
bool | OSX_LookupCharacter (unsigned short vkey, unsigned int modifiers, bool keyDownFlag, unsigned char *outChar) |
void | OSX_ProcessKeyEvent (NSEvent *keyEvent, bool keyDownFlag) |
void | sendEventForMaskChangeInFlags (int quakeKey, unsigned int modifierMask, unsigned int oldModifierFlags, unsigned int newModifierFlags) |
void | processFlagsChangedEvent (NSEvent *flagsChangedEvent) |
void | processSystemDefinedEvent (NSEvent *systemDefinedEvent) |
void | processEvent (NSEvent *event) |
void | Posix_PollInput (void) |
void | Sys_PreventMouseMovement (CGPoint point) |
void | Sys_ReenableMouseMovement () |
void | Sys_LockMouseInInputRect (CGRect rect) |
void | Sys_SetMouseInputRect (CGRect newRect) |
void | IN_ActivateMouse (void) |
void | IN_DeactivateMouse (void) |
unsigned char | Sys_MapCharForKey (int key) |
unsigned char | Sys_GetConsoleKey (bool shifted) |
Variables | |
int | vkeyToDoom3Key [256] |
int | vkeyToDoom3Key_French [256] |
int | vkeyToDoom3Key_German [256] |
Definition at line 497 of file macosx_event.mm.
Definition at line 510 of file macosx_event.mm.
|
inline |
Definition at line 247 of file macosx_event.mm.
Definition at line 275 of file macosx_event.mm.
Definition at line 434 of file macosx_event.mm.
void processEvent | ( | NSEvent * | event | ) |
Definition at line 379 of file macosx_event.mm.
void processFlagsChangedEvent | ( | NSEvent * | flagsChangedEvent | ) |
Definition at line 317 of file macosx_event.mm.
void processMouseMovedEvent | ( | NSEvent * | mouseMovedEvent | ) |
Definition at line 183 of file macosx_event.mm.
void processSystemDefinedEvent | ( | NSEvent * | systemDefinedEvent | ) |
Definition at line 328 of file macosx_event.mm.
void sendEventForMaskChangeInFlags | ( | int | quakeKey, |
unsigned int | modifierMask, | ||
unsigned int | oldModifierFlags, | ||
unsigned int | newModifierFlags | ||
) |
Definition at line 305 of file macosx_event.mm.
unsigned char Sys_GetConsoleKey | ( | bool | shifted | ) |
Definition at line 533 of file macosx_event.mm.
Definition at line 157 of file macosx_event.mm.
Definition at line 126 of file macosx_event.mm.
void Sys_LockMouseInInputRect | ( | CGRect | rect | ) |
Definition at line 476 of file macosx_event.mm.
unsigned char Sys_MapCharForKey | ( | int | key | ) |
Definition at line 524 of file macosx_event.mm.
void Sys_PreventMouseMovement | ( | CGPoint | point | ) |
Definition at line 448 of file macosx_event.mm.
void Sys_ReenableMouseMovement | ( | ) |
Definition at line 464 of file macosx_event.mm.
void Sys_SetMouseInputRect | ( | CGRect | newRect | ) |
Definition at line 488 of file macosx_event.mm.
Definition at line 169 of file macosx_event.mm.
int vkeyToDoom3Key[256] |
Definition at line 62 of file macosx_event.mm.
int vkeyToDoom3Key_French[256] |
Definition at line 81 of file macosx_event.mm.
int vkeyToDoom3Key_German[256] |
Definition at line 100 of file macosx_event.mm.