Reading up on the Mughals and Indian History in general it seems that if the Indian state of this period had access or developed competant Matchlock and Cannon weapons comparable to the Ottomans, Europe, and the Ming then it is highly possible that they could have resisted the advance of the Mughals who under Babur had adopted the technology himself sometime from 1511-1519- no doubt from the Ottomans themselves and likewise the Safavids adopted it after their crushing defeat by the Ottomans. Likewise with the Portugese and other Europeans.
The entire makeup of the Indian States that exsisted just prior to the Mughal Invasion would themselves have looked totally different as many of the smaller ones like Malwa existed so long thanks to effective and extensive use of fortifications that the advanced gunpowder technology of the era could have demolished. Author John keay in his book on Indian History makes the statement himself of what could have happened if Chinese Gunners had been able to visit India from over the Himalayas or the Trade Ships on the Water section of the Silk Road.
The entire makeup of the Indian States that exsisted just prior to the Mughal Invasion would themselves have looked totally different as many of the smaller ones like Malwa existed so long thanks to effective and extensive use of fortifications that the advanced gunpowder technology of the era could have demolished. Author John keay in his book on Indian History makes the statement himself of what could have happened if Chinese Gunners had been able to visit India from over the Himalayas or the Trade Ships on the Water section of the Silk Road.