Not enough info. What keyboard? Does it have stereo output? Does it have separate L/R outputs or a single TRS output? Typically you'd leave the switch on "line". For stereo, you should run the L/R output of the keyboard to TWO inputs on the DP24, and assign them in the DP24 to a stereo pair (tracks 13/14, 15/16, etc).