Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

touchData.dart 351B

12345678910111213141516171819
  1. // The base class for the different types of items the List can contain
  2. abstract class ListItem {}
  3. class TouchData implements ListItem {
  4. int event;
  5. int fingerNumber;
  6. int x;
  7. int y;
  8. TouchData(this.event, this.fingerNumber, this.x, this.y);
  9. void touchEvent(int E, int X, int Y) {
  10. this.event = E;
  11. this.x = X;
  12. this.y = Y;
  13. }
  14. }