Skip to content

Commit

Permalink
added more comments for tracking bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Thakore committed Sep 6, 2013
1 parent 3507b2d commit e422ed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/SDLx/Controller.pm
Expand Up @@ -200,7 +200,9 @@ sub _event {
warn SDL::get_error();

SDL::Events::pump_events();
warn "Event pumping event " . Dumper($event);
while ( SDL::Events::poll_event($event) ) {
warn "Event polling event" . Dumper($event);
$stop_handler->( $event, $self ) if $stop_handler;
foreach my $event_handler (@$event_handlers) {
next unless $event_handler;
Expand Down

0 comments on commit e422ed6

Please sign in to comment.