plugins/shakecursor: Use std::deque to store history
It's more suitable for the task. The ShakeDetector constantly adds new items at the end of the list and pops old items at the front.
It's more suitable for the task. The ShakeDetector constantly adds new items at the end of the list and pops old items at the front.