keyboard and trackpad fails on its own
i have m1 macbook air and when I use it, the trackpad and keyboard just stops working. tried resetting the smc, tried everything. even brought this to the store but at the time, the computer wasn't acting up. there's no water and physical damage. i have no idea whats causing the keyboard and trackpad to fail. sometimes it wont happen for like 20 days but after that, happens again. it works after I restart the mac but I don't want to restart it multiple times in 10 minutes. i saw a similar question here but I don't know how that one got solved. please help me. i need this computer for my online classes.
MacBook Air 13″, macOS 12.1