From 7c583dd66f84bc8214bb9263421da247d1ce631d Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sun, 13 Dec 2009 16:52:36 -0600 Subject: [PATCH] windows.dinput.constants: use C type symbols rather than strings --- basis/windows/dinput/constants/constants.factor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 basis/windows/dinput/constants/constants.factor diff --git a/basis/windows/dinput/constants/constants.factor b/basis/windows/dinput/constants/constants.factor old mode 100644 new mode 100755 index 4e97cb0e01..7e4ad39945 --- a/basis/windows/dinput/constants/constants.factor +++ b/basis/windows/dinput/constants/constants.factor @@ -102,8 +102,8 @@ M: array array-base-type first ; : define-joystick-format-constant ( -- ) c_dfDIJoystick2 [ DIDF_ABSAXIS - "DIJOYSTATE2" heap-size - "DIJOYSTATE2" { + DIJOYSTATE2 heap-size + DIJOYSTATE2 { { GUID_XAxis_malloced "lX" 0 { DIDFT_OPTIONAL DIDFT_AXIS DIDFT_ANYINSTANCE } 0 } { GUID_YAxis_malloced "lY" 0 { DIDFT_OPTIONAL DIDFT_AXIS DIDFT_ANYINSTANCE } 0 } { GUID_ZAxis_malloced "lZ" 0 { DIDFT_OPTIONAL DIDFT_AXIS DIDFT_ANYINSTANCE } 0 } @@ -274,8 +274,8 @@ M: array array-base-type first ; : define-mouse-format-constant ( -- ) c_dfDIMouse2 [ DIDF_RELAXIS - "DIMOUSESTATE2" heap-size - "DIMOUSESTATE2" { + DIMOUSESTATE2 heap-size + DIMOUSESTATE2 { { GUID_XAxis_malloced "lX" 0 { DIDFT_ANYINSTANCE DIDFT_AXIS } 0 } { GUID_YAxis_malloced "lY" 0 { DIDFT_ANYINSTANCE DIDFT_AXIS } 0 } { GUID_ZAxis_malloced "lZ" 0 { DIDFT_OPTIONAL DIDFT_ANYINSTANCE DIDFT_AXIS } 0 }