way-cooler / rust-wlc

[DEPRECATED] Rust bindings for wlc, the Wayland compositor library
54 stars 12 forks source link

What slot is #30

Closed gmorenz closed 8 years ago

gmorenz commented 8 years ago

In response to this

If you have a touchscreen, please tell us what slot means.

A slot seems to correspond to a finger, e.g. the following actions generate the following events, printed with println!("touch_touch {:?}", (touch, slot, point_ptr));

  1. Touch with finger 1
  2. Touch with finger 2
  3. Lift finger 1
  4. Touch with Finger 1
  5. Lift finger 2
  6. Lift finger 1

(Search for Down and Up to see when fingers start/stop touching)

touch_touch (Down, 0, Point { x: 684, y: 518 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Down, 1, Point { x: 874, y: 547 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 551 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 551 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 552 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 552 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 552 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 552 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 553 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 553 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 553 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 553 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 555 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 555 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 555 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 555 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 556 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 556 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 556 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 556 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 557 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 557 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Up, 0, Point { x: 0, y: 0 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 878, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 879, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 879, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Down, 0, Point { x: 688, y: 513 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 879, y: 557 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 879, y: 557 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 557 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 554 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 553 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 553 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 553 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 553 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 552 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 555 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 517 })
touch_touch (Motion, 1, Point { x: 880, y: 555 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 517 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 552 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 552 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 551 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 550 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 550 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 550 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 549 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 880, y: 548 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 1, Point { x: 874, y: 548 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 518 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Up, 1, Point { x: 0, y: 0 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 518 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 518 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 518 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 519 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 519 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 519 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 519 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 520 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 520 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 520 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 521 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 521 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 522 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 522 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Motion, 0, Point { x: 688, y: 522 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
touch_touch (Up, 0, Point { x: 0, y: 0 })
touch_touch (Frame, 0, Point { x: 0, y: 0 })
SnirkImmington commented 8 years ago

Thanks for the feedback! I've updated the docs to reflect this.