Gun control proponents have had little luck over the past 23 years convincing Congress to pass legislation that would curb the use of guns or ammunition in the U.S.

But the most recent deadly mass shooting has created rare common ground in the halls of Congress, and lawmakers in both parties say they are willing to consider legislation banning gun accessories known as "bump stocks."

The devices were used on at least a dozen guns in the Oct. 1 Las Vegas shooting that left 59 dead and hundreds injured.

Bump stocks attach to semi-automatic weapons, allowing them to fire in rapid succession, much like automatic weapons, which are illegal outside of the military.

Lawmakers from the most pro-gun states say it is time to reconsider whether bump stocks should be legal.

"We need to have a hearing," Sen. John Cornyn, R-Texas, who is the Senate Majority Whip, told the Washington Examiner. "This bump stock, which most people never heard of, evades the restriction on automatic weapons. That bears scrutiny."

Sen. James Inhofe, R-Okla., another strong gun rights proponent, said he would likely back a ban on bump stocks.

"If it's something that fits the definition of an automatic [weapon], I probably would," Inhofe said.

In an interview with Hugh Hewitt, Speaker Paul Ryan, R-Wis., an avid hunter, also called for examining the legality of the bump stock.

President Trump is "open" to reviewing the devices, spokeswoman Sarah Sanders said.

Legislation is ready to go.

Sen. Dianne Feinstein, D-Calif., a staunch gun control proponent, introduced a bill last week banning bump stocks, which were legalized by the Bureau of Alcohol, Tobacco, Firearms and Explosives in 2010.

Feinstein has tried several times over the years to pass legislation limiting certain semi-automatic guns and high-capacity ammunition clips, pitching her measures following the Sandy Hook Elementary School shooting and the Orlando nightclub shooting, for example.

Her latest bill is narrow, however. It is limited to the bump stock devices. The bill "would ban the sale, transfer, importation, manufacture or possession of bump stocks, trigger cranks and similar accessories that accelerate a semi-automatic rifle's rate of fire."

Because it excludes additional gun control provisions, it has a chance, Republican leaders said, as long as Democrats don't try to use the tragedy in Las Vegas to push for more expanded gun control provisions like they have insisted on following other mass attacks with guns.

"If people want to use it as a platform to restrict the rights of law abiding citizens, then we are not going to get anywhere," Cornyn warned.

Democrats are keenly aware of the dynamic and say they don't plan to ask for more than the bump stock ban.

At least, that is what Sen. Chris Murphy is promising.

Murphy, D-Conn., has become a leader on gun control legislation in the Senate Democratic Caucus. He's been on a mission to pass gun control measures since the Sandy Hook shooting that left 20 children and six adults dead from the gunshots fired by a mentally unstable young man.

"I think you have to walk before you run, and it has been a long time since we've been able to get any bipartisan consensus on laws closing loopholes on gun statutes," Murphy told the Washington Examiner. "This would be a good start."

Murphy has introduced a separate measure expanding background checks, but said he will not push for its inclusion in the bump stock legislation.

"I would certainly be for something narrow" on bump stocks, Murphy said.

The fate of the bump stock may have been decided on Oct. 5, when the NRA issued a rare statement calling for an immediate federal review of the legality of bump stocks.

"The NRA believes that devices designed to allow semi-automatic rifles to function like fully-automatic rifles should be subject to additional regulations," the NRA said in a statement.

Republicans from pro-gun states won't have to worry about the wrath of the NRA if a bill banning bump stocks comes up for a vote.

Senate Armed Services Committee Chairman John McCain, R-Ariz., said banning bump stocks "has merit," and he is not surprised by the sudden bipartisanship on a gun control measure, which has eluded Congress since Bill Clinton's first presidential term.

"Look at Las Vegas," McCain said. "That is how I account for it. Americans are horrified by it. And they should be."