Neopixels and button control

So is it one of the functions in the sketches posted here or is it something else ?