Gamepad, the entire day if I so wished to.
Stick, one or two hours maybe. I suck with sticks.
Keyboard, five minutes at most before giving up.
Stick and keyboard may be interchangeable depending on the condition of being able to switch around the default keyboard configuration.