Dictionary.com
Thesaurus.com
had been twiddling
  • past perfect progressive of twiddle.