Disable laptop build-in

check input device ID:

  xinput list      ;by this you should remeber vitual core keyboard ID(master ID, 3 in my laptop), and AT keyboard ID(13 in my laptop).

Disable:

  xinput float $(ATkeyboard ID)      ;command as "xinput float 13" for me.

Enable:

  xinput reattach $(AT keyboard ID) $(master ID)    ;command as "xinput reattach 13 3" for me.

 

猜你喜欢

转载自www.cnblogs.com/kpos/p/9220033.html