Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
2b7c1494
Commit
2b7c1494
authored
Oct 10, 2010
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed debug output
parent
fdbac7e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
SDL_cocoaevents.m
src/video/cocoa/SDL_cocoaevents.m
+0
-5
No files found.
src/video/cocoa/SDL_cocoaevents.m
View file @
2b7c1494
...
@@ -193,8 +193,6 @@ Cocoa_PumpEvents(_THIS)
...
@@ -193,8 +193,6 @@ Cocoa_PumpEvents(_THIS)
break
;
break
;
}
}
//printf("Type: %i, Subtype: %i\n",[event type],[event subtype]);
switch
([
event
type
])
{
switch
([
event
type
])
{
case
NSLeftMouseDown
:
case
NSLeftMouseDown
:
case
NSOtherMouseDown
:
case
NSOtherMouseDown
:
...
@@ -206,7 +204,6 @@ Cocoa_PumpEvents(_THIS)
...
@@ -206,7 +204,6 @@ Cocoa_PumpEvents(_THIS)
case
NSRightMouseDragged
:
case
NSRightMouseDragged
:
case
NSOtherMouseDragged
:
/* usually middle mouse dragged */
case
NSOtherMouseDragged
:
/* usually middle mouse dragged */
case
NSMouseMoved
:
case
NSMouseMoved
:
printf
(
"Mouse Type: %i, Subtype: %i
\n
"
,[
event
type
],[
event
subtype
]);
Cocoa_HandleMouseEvent
(
_this
,
event
);
Cocoa_HandleMouseEvent
(
_this
,
event
);
/* Pass through to NSApp to make sure everything stays in sync */
/* Pass through to NSApp to make sure everything stays in sync */
[
NSApp
sendEvent
:
event
];
[
NSApp
sendEvent
:
event
];
...
@@ -221,8 +218,6 @@ Cocoa_PumpEvents(_THIS)
...
@@ -221,8 +218,6 @@ Cocoa_PumpEvents(_THIS)
if
(([
event
modifierFlags
]
&
NSCommandKeyMask
)
||
[
event
type
]
==
NSFlagsChanged
)
if
(([
event
modifierFlags
]
&
NSCommandKeyMask
)
||
[
event
type
]
==
NSFlagsChanged
)
[
NSApp
sendEvent
:
event
];
[
NSApp
sendEvent
:
event
];
break
;
break
;
case
NSTabletPoint
:
printf
(
"Tablet Event Received
\n
"
);
default
:
default
:
[
NSApp
sendEvent
:
event
];
[
NSApp
sendEvent
:
event
];
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment