Enlarge Image Screenshot by CNET

If you're having problems with your MacBook keyboard, you're not alone. And now the issue may be heading to court.

A class-action complaint filed Friday says people who bought a MacBook or MacBook Pro equipped with Apple's "butterfly" keyboard "face a constant threat of nonresponsive keys and accompanying keyboard failure" and accuses Apple of failing to alert consumers about the issue.

Apple didn't respond to a request for comment.

The lawsuit, filed in Northern California's US District Court, follows blog posts, tweets, support-forum comments, a Change.org petition, and even a satirical song and video about the allegedly janky keyboards.

Apple introduced its "butterfly" switch in 2015, on the 12-inch MacBook. The bit of hardware replaced the traditional "scissor" mechanism below each key and was meant to be more stable, responsive and comfortable (as Apple says on its site). For some users, though, things apparently haven't worked out that way.

People have complained about having to go a week or more without their computer while Apple replaced not just the unresponsive key, but a substantial part of their MacBook. And that was if their laptop was still under warranty. Others, less fortunate, have said the out-of-warranty fix can set you back $700.

Critics say Apple has been less-than-responsive about the problem. In June, the company's customer-support team posted a webpage outlining how to clean the keyboard using a can of compressed air (some folks say that doesn't always work, or that the problem recurs). In March, reports surfaced about Apple filing a patent for a crumb-resistant MacBook keyboard.

Now playing: Watch this: Six things that drive me nuts about the MacBook Pro's...

The keyboard lawsuit, posted by Apple Insider, which reported on it earlier, calls out MacBooks from 2015 or later and MacBook Pros from 2016 or later.

"Hundreds of thousands of people bought MacBooks or MacBook Pros with the keyboards we allege are defective," a representative for Girard Gibbs Ltd., the legal firm representing the plaintiffs, said in a statement. "The product failures are widespread, and we look forward to pursuing justice for this group of consumers." The firm also has a webpage about the "butterfly" keyboard issue.

The suit seeks class-action status and, among other things, asks that Apple be compelled to "provide adequate disclosure of the defective nature of the MacBooks" and "return to Plaintiffs and Class members all costs attributable to remedying or replacing defective MacBook laptops, including but not limited to economic losses from the purchase of replacement laptops."

First published May 12, 12:41 p.m. PT

Update, May 15 at 5:50 p.m.: Adds statement from plaintiffs' attorneys.

Does the Mac still matter? Apple execs explain why the MacBook Pro was over four years in the making, and why we should care.

'Hello, humans': Google's Duplex could make Assistant the most lifelike AI yet.