diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c091839 --- /dev/null +++ b/.gitignore @@ -0,0 +1,50 @@ +# Compiled source # +################### +*.com +*.class +*.dll +*.exe +*.o +*.so +*.pyc + +# Numerous always-ignore extensions +################### +*.diff +*.err +*.orig +*.log +*.rej +*.swo +*.swp +*.vi +*~ + +*.sass-cache +# Folders to ignore +################### +.hg +.svn +.CVS +# OS or Editor folders +################### +.DS_Store +Icon? +Thumbs.db +ehthumbs.db +nbproject +.cache +.project +.settings +.tmproj +*.esproj +*.sublime-project +*.sublime-workspace +# Dreamweaver added files +################### +_notes +dwsync.xml +# Komodo +################### +*.komodoproject +.komodotools diff --git a/Libfreenect.xs b/Libfreenect.xs index d838d5f..2ea5758 100644 --- a/Libfreenect.xs +++ b/Libfreenect.xs @@ -19,7 +19,7 @@ void my_video_callback( void* f_dev, void* video, long timestamp ) { printf( "*** video\n" ); } -MODULE = Libfreenect PACKAGE = Libfreenect +MODULE = Libfreenect PACKAGE = Libfreenect INCLUDE: const-xs.inc diff --git a/examples/curses b/examples/curses index 1a587ef..f078697 100755 --- a/examples/curses +++ b/examples/curses @@ -103,9 +103,9 @@ sub got_keystroke { '4' => sub { $freenect->{lib}->set_led( LED_OFF ) }, '5' => sub { $freenect->{lib}->set_led( LED_RED ) }, '6' => sub { $freenect->{lib}->set_led( LED_YELLOW ) }, - 'w' => sub { $freenect->{angle}++ }, - 's' => sub { $freenect->{angle} = 0 }, - 'x' => sub { $freenect->{angle}-- }, + 'w' => sub { $freenect->{angle}++ }, + 's' => sub { $freenect->{angle} = 0 }, + 'x' => sub { $freenect->{angle}-- }, ); $action{$keystroke}->() if $action{$keystroke}; $freenect->{angle} = 30 if $freenect->{angle} > 30; diff --git a/lib/POE/Loop/Kinect.pm b/lib/POE/Loop/Kinect.pm index 140873e..477a5dd 100644 --- a/lib/POE/Loop/Kinect.pm +++ b/lib/POE/Loop/Kinect.pm @@ -47,7 +47,7 @@ sub loop_initialize { # Must Gnome->init() yourselves, as it takes parameters. unless (exists $INC{'Gnome.pm'}) { - # Gtk can only be initialized once. + # Gtk can only be initialized once. # So if we've initialized it already, skip the whole deal. unless($gtk_init_check) { $gtk_init_check++;