let HL = 0;
let VL = 1;
let VC = 2;
let VR = 3;
let HR = 4;

class Data {
    static getData(cb) {
        cb(null, {
            sensitivity: {
                strength: 0.7,
                power: 3
            },
            thrusters: [
                [
                    0.0, -1.0,
                    90.0, 1.0,
                    180.0, 1.0,
                    270.0, -1.0,
                    360.0, -1.0
                ],
                [
                    0.0, 1.0,
                    90.0, -1.0,
                    180.0, -1.0,
                    270.0, 1.0,
                    360.0, 1.0
                ],
                [
                    0.0, 0.0,
                    90.0, 1.0,
                    180.0, 0.0,
                    270.0, -1.0,
                    360.0, 0.0
                ],
                [
                    0.0, -1.0,
                    90.0, -1.0,
                    180.0, 1.0,
                    270.0, 1.0,
                    360.0, -1.0
                ],
                [
                    0.0, 1.0,
                    90.0, 1.0,
                    180.0, -1.0,
                    270.0, -1.0,
                    360.0, 1.0
                ]
            ]
        });
    }

    static sendData(cb) {
        cb(null);
    }
}

let HL = 0;
let VL = 1;
let VC = 2;
let VR = 3;
let HR = 4;

class Data {
    static getData(cb) {
        xhr.get('/api/settings', cb);
    }

    static sendData(data, cb) {
        xhr.put('/api/settings', data, cb);
    }
}

Use XHR to get/send thruster settings
Use XHR to get/send thruster settings
