Changeset 6f996af in orbit for android/src
- Timestamp:
- 12/23/13 12:17:07 (9 years ago)
- Branches:
- master, Servo
- Children:
- ffe8a1a
- Parents:
- 641eb78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
android/src/info/puzzlebox/orbit/FragmentTabAdvanced.java
r1d620a4 r6f996af 207 207 checkBoxTiltSensorControlThrottle.setOnClickListener(this); 208 208 checkBoxTiltSensorControlThrottle.setVisibility(View.GONE); // Default should be hidden until Tilt Control is activated 209 209 210 210 checkBoxControlledDescent = (CheckBox) v.findViewById(R.id.checkBoxControlledDescent); 211 211 checkBoxControlledDescent.setOnClickListener(this); … … 518 518 519 519 520 Log.v(TAG, "Sensors: " + sensorManager.getSensorList(Sensor.TYPE_ALL));520 // Log.v(TAG, "Sensors: " + sensorManager.getSensorList(Sensor.TYPE_ALL)); 521 521 522 522 … … 607 607 608 608 public void checkBoxControlledDescentClicked(View v) { 609 609 610 610 // pass 611 612 611 612 613 613 } // checkBoxControlledDescent 614 614 615 615 // ################################################################ 616 616 … … 809 809 // Sensor.TYPE_GRAVITY or TYPE_ACCELEROMETER methods 810 810 tiltX = sensorEvent.values[1] * -4; 811 tiltY = sensorEvent.values[0] * - 6;811 tiltY = sensorEvent.values[0] * -8; 812 812 813 813 // appendDebugConsole("X: " + tiltX + ", Y: " + tiltY + "\n");
Note: See TracChangeset
for help on using the changeset viewer.