forked from bartvdbraak/blender
Code Cleanup: move MOUSEX/Y to BGE, describe INBETWEEN_MOUSEMOVE
This commit is contained in:
parent
50650e28ea
commit
5fc2fe9fad
@ -46,9 +46,6 @@
|
||||
#define EVT_TABLET_STYLUS 1
|
||||
#define EVT_TABLET_ERASER 2
|
||||
|
||||
#define MOUSEX 4
|
||||
#define MOUSEY 5
|
||||
|
||||
|
||||
/* *** wmEvent.type *** */
|
||||
|
||||
@ -78,6 +75,9 @@
|
||||
/* mapped with userdef */
|
||||
#define WHEELINMOUSE 12
|
||||
#define WHEELOUTMOUSE 13
|
||||
/* Successive MOUSEMOVE's are converted to this, so we can easily
|
||||
* ignore all but the most recent MOUSEMOVE (for better performance),
|
||||
* paint and drawing tools however will want to handle these. */
|
||||
#define INBETWEEN_MOUSEMOVE 17
|
||||
|
||||
|
||||
|
@ -62,6 +62,10 @@ public:
|
||||
int m_eventval;
|
||||
};
|
||||
|
||||
/* Originally from wm_event_types.h, now only used by GameEngine */
|
||||
#define MOUSEX MOUSEMOVE
|
||||
#define MOUSEY ACTIONMOUSE
|
||||
|
||||
class SCA_IInputDevice
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user