Skip to content

Commit b90f353

Browse files
committed
new attachments
1 parent 896e674 commit b90f353

File tree

9 files changed

+453
-117
lines changed

9 files changed

+453
-117
lines changed

SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/bluetoothHelper/BluetoothActivity.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public void stopDiscovery(){
178178
}
179179
}
180180

181-
private class BluetoothBroadCast extends BroadcastReceiver {
181+
private class BluetoothBroadCast extends BroadcastReceiver {
182182
@Override
183183
public void onReceive(Context context, Intent intent) {
184184
switch (intent.getAction()){
@@ -209,7 +209,7 @@ public void onReceive(Context context, Intent intent) {
209209
/**
210210
* ServerSide System Authentication
211211
*/
212-
public class BluetoothServerSideSocket implements Callable<BluetoothServerSocket> {
212+
private class BluetoothServerSideSocket implements Callable<BluetoothServerSocket> {
213213
private BluetoothServerSocket bluetoothServerSocket;
214214
private BluetoothSocket bluetoothSocket;
215215
@Override
@@ -222,7 +222,7 @@ public BluetoothServerSocket call() {
222222
}
223223
return bluetoothServerSocket;
224224
}
225-
public void connectWhenRequested(){
225+
private void connectWhenRequested(){
226226
/*keep trying to accept as long as there's no external exception*/
227227
while (true){
228228
try {
@@ -258,7 +258,7 @@ public void cancelOperation(){
258258
/**
259259
* ClientSide System Authentication
260260
*/
261-
public class BluetoothClientSideSocket implements Callable<BluetoothSocket>{
261+
private class BluetoothClientSideSocket implements Callable<BluetoothSocket>{
262262
private BluetoothSocket clientSideBluetoothSocket;
263263

264264
public Callable<BluetoothSocket> registerBluetoothServerDevice(BluetoothDevice bluetoothDevice){

SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/gamePad/GameStickView.java

+3
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ public void deInitializeSensors(){
278278
sensorManager.unregisterListener(this);
279279
}
280280

281+
public SensorManager getSensorManager() {
282+
return sensorManager;
283+
}
281284
@Override
282285
public boolean onTouch(View v, MotionEvent event) {
283286
if(String.valueOf(v.getTag()).equals(this.getClass().getName())){

0 commit comments

Comments
 (0)