[ci skip]Replace tab with spaces.

This commit is contained in:
WenhaiLin 2015-07-10 20:56:21 +08:00
parent b459940bb8
commit 7f3e0b2a8c
3 changed files with 26 additions and 48 deletions

View File

@ -29,16 +29,17 @@ import org.cocos2dx.lib.GameControllerActivity;
import android.os.Bundle;
public class AppActivity extends GameControllerActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//The standard controller,without doing anything special. e.g: Amazon Fire TV
//Manually specify an adapter.
this.connectController(DRIVERTYPE_NIBIRU);
this.connectController(DRIVERTYPE_MOGA);
this.connectController(DRIVERTYPE_OUYA);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//The standard controller,without doing anything special. e.g: Amazon Fire TV
//Manually specify an adapter.
this.connectController(DRIVERTYPE_NIBIRU);
//Nibiru SDK have already integrated with MOGA service.
//this.connectController(DRIVERTYPE_MOGA);
this.connectController(DRIVERTYPE_OUYA);
}
}

View File

@ -1,23 +0,0 @@
#!/bin/bash
append_str=' \'
list_alldir()
{
for file in $1/*
do
if [ -f $file ]; then
echo $file$append_str | grep .cpp
fi
if [ -d $file ]; then
list_alldir $file
fi
done
}
if [ $# -gt 0 ]; then
list_alldir "$1"
else
list_alldir "."
fi

View File

@ -29,17 +29,17 @@ import org.cocos2dx.lib.GameControllerActivity;
import android.os.Bundle;
public class AppActivity extends GameControllerActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//The standard controller,without doing anything special. e.g: Amazon Fire TV
//Manually specify an adapter.
this.connectController(DRIVERTYPE_NIBIRU);
//Nibiru SDK have already integrated with MOGA service.
//this.connectController(DRIVERTYPE_MOGA);
this.connectController(DRIVERTYPE_OUYA);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//The standard controller,without doing anything special. e.g: Amazon Fire TV
//Manually specify an adapter.
this.connectController(DRIVERTYPE_NIBIRU);
//Nibiru SDK have already integrated with MOGA service.
//this.connectController(DRIVERTYPE_MOGA);
this.connectController(DRIVERTYPE_OUYA);
}
}