Vitaliy Margolen : dinput: Remove no longer used GEN_EVENT.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Dec 5 04:51:08 CST 2006
Module: wine
Branch: master
Commit: 03fa9106cf449f233bb9c678844feeb039000e5f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=03fa9106cf449f233bb9c678844feeb039000e5f
Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date: Mon Dec 4 10:54:56 2006 -0700
dinput: Remove no longer used GEN_EVENT.
---
dlls/dinput/device_private.h | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/dlls/dinput/device_private.h b/dlls/dinput/device_private.h
index c32b4f5..4e63af4 100644
--- a/dlls/dinput/device_private.h
+++ b/dlls/dinput/device_private.h
@@ -64,28 +64,6 @@ extern DataFormat *create_DataFormat(con
extern void release_DataFormat(DataFormat *df) ;
extern void queue_event(LPDIRECTINPUTDEVICE8A iface, int ofs, DWORD data, DWORD time, DWORD seq);
-/* Used to fill events in the queue */
-#define GEN_EVENT(offset,data,xtime,seq) \
-{ \
- /* If queue_len > 0, queuing is requested -> TRACE the event queued */ \
- if (This->queue_len > 0) { \
- int nq; \
- TRACE(" queueing %d at offset %d (queue head %d / size %d)\n", \
- (int) (data), (int) (offset), \
- (int) (This->queue_head), (int) (This->queue_len)); \
- \
- nq = (This->queue_head+1) % This->queue_len; \
- if ((offset >= 0) && (nq != This->queue_tail)) { \
- This->data_queue[This->queue_head].dwOfs = offset; \
- This->data_queue[This->queue_head].dwData = data; \
- This->data_queue[This->queue_head].dwTimeStamp = xtime; \
- This->data_queue[This->queue_head].dwSequence = seq; \
- This->queue_head = nq; \
- } else \
- This->overflow = TRUE; \
- } \
-}
-
/**
* Callback Data used by specific callback
* for EnumObject on 'W' interfaces
More information about the wine-cvs
mailing list