Disable laptop build-in keyboard

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.

 

posted @ 2018-06-24 11:51  kpliu  阅读(91)  评论(0编辑  收藏  举报