I made a (slightly glitchy) turret! d + 1 and 2 keys switch between directional control types. f + 1 and 2 keys switch between firing control types. p key changes the appearance of the projectile