Detecting the presence of the keyboard or touchpad is just a single resistor. It’s pretty easy to make a dummy connector if you need to keep things going (eg if you want to make something else to fit where the keyboard or touchpad would go). See Thinkpad keyboard mod (super early stages)! - #102 by C_Scott_Ananian