summary refs log tree commit diff
path: root/src/MacInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MacInput.cpp')
-rw-r--r--src/MacInput.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/MacInput.cpp b/src/MacInput.cpp
deleted file mode 100644
index a52a1d7..0000000
--- a/src/MacInput.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-/**> HEADER FILES <**/
-#include "MacInput.h"
-
-/********************> IsKeyDown() <*****/
-Boolean	IsKeyDown( unsigned char *keyMap, unsigned short theKey )
-{
-	long	keyMapIndex;
-	Boolean	isKeyDown;
-	short	bitToCheck;
-
-	// Calculate the key map index
-	keyMapIndex = keyMap[theKey/8];
-
-	// Calculate the individual bit to check
-	bitToCheck = theKey%8;
-
-	// Check the status of the key
-	isKeyDown = ( keyMapIndex >> bitToCheck ) & 0x01;
-
-	// Return the status of the key
-	return isKeyDown;
-}