1c041511dScube 2c041511dScube/* Copyright (c) Mark J. Kilgard, 1997. */ 3c041511dScube 4c041511dScube/* This program is freely distributable without licensing fees 5c041511dScube and is provided without guarantee or warrantee expressed or 6c041511dScube implied. This program is -not- in the public domain. */ 7c041511dScube 8c041511dScube#include <stdlib.h> 9c041511dScube 10c041511dScube#include "glutint.h" 11c041511dScube 12c041511dScube/* CENTRY */ 13c041511dScubevoid GLUTAPIENTRY 14c041511dScubeglutKeyboardUpFunc(GLUTkeyboardCB keyboardUpFunc) 15c041511dScube{ 16c041511dScube __glutChangeWindowEventMask(KeyReleaseMask, 17c041511dScube keyboardUpFunc != NULL || __glutCurrentWindow->specialUp != NULL); 18c041511dScube __glutCurrentWindow->keyboardUp = keyboardUpFunc; 19c041511dScube} 20c041511dScube 21c041511dScubevoid GLUTAPIENTRY 22c041511dScubeglutSpecialUpFunc(GLUTspecialCB specialUpFunc) 23c041511dScube{ 24c041511dScube __glutChangeWindowEventMask(KeyReleaseMask, 25c041511dScube specialUpFunc != NULL || __glutCurrentWindow->keyboardUp != NULL); 26c041511dScube __glutCurrentWindow->specialUp = specialUpFunc; 27c041511dScube} 28c041511dScube 29c041511dScube/* ENDCENTRY */ 30