Basic single-switch functionality