You are correct, Heller did affirm the constitutional rights, in the second amendment. That is what SCOTUS does, interpret law, not create it.
SCOTUS, some 50 years ago 'created' an abortion law which was a violation of the constitution.
There is no constitutional amendment nor any mention whatsoever in the COTUS of any abortion rights, there never was a law.
SCOTUS did what it is supposed to do, they interpreted the COTUS and under the 10th amendment, determined the federal gov't 'created' law which it had no business doing, under the COTUS.