Hi Lucian Firan
Yes, if you use KeyBoardSupported_d as 0, it will disable all Switches initialization related with SW3 and SW4, for example Gpio_IrqAdapter, you can check that in Keyboard.c it uses the GpioInstallIsr funtion inside a #if gKeyBoardSupported_d, and if you don't use this GpioInstallIsr funtion in other part of the code, the compiler will ignore this code.
If you application requires to use TSI then you going to need to implement this driver in the keyboard drivers. I recommend you to check the following demo, it has tsi drivers for kw40z, it could help you in your implementation.
http://www.nxp.com/assets/documents/data/en/application-notes/FRDMKW40ZDAUG.pdf
http://www.nxp.com/assets/documents/data/en/application-notes-software/FRDMKW40ZDAUGSW.zip
Note:The TSI implementation is not a good "Flash saver". It will need an extra software timer that can trigger TSI measurements.
Hope this information help you.
Best Regards,
Mario Castañeda