-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable.pde
39 lines (33 loc) · 1.01 KB
/
variable.pde
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* <p>Ketai Sensor Library for Android: http://Ketai.org</p>
*
* <p>KetaiBluetooth wraps the Android Bluetooth RFCOMM Features:
* <ul>
* <li>Enables Bluetooth for sketch through android</li>
* <li>Provides list of available Devices</li>
* <li>Enables Discovery</li>
* <li>Allows writing data to device</li>
* </ul>
* <p>Updated: 2017-08-29 Daniel Sauter/j.duran</p>
*/
//required for BT enabling on startup
import android.content.Intent;
import android.os.Bundle;
import ketai.net.bluetooth.*;
import ketai.ui.*;
import ketai.net.*;
import oscP5.*;
KetaiBluetooth bt;
String info = "";
KetaiList klist;
PVector remoteMouse = new PVector();
ArrayList<String> devicesDiscovered = new ArrayList();
boolean isConfiguring = true;
String UIText;
//***************************************************************************
//my own vars for multiplayer
ArrayList<Integer> otherSize = new ArrayList <Integer>();
ArrayList<Float> ratio = new ArrayList<Float>();
int wHold, hHold;
int delay = 10;
boolean checkSize = true;