This guy runs an interesting channel on Japanese/Samurai gunnery:
Despite having been introduced to flintlocks, they pretty much continued to use matchlocks until the Perry's Black Ships arrived.
The Tokugawa era was largely peaceful, so there was also little reason for arms development, which may also explain it.