Chosen Solution

after two weeks that I didn’t turn on my Mac air today I tried to turn it on and at the beginning it started like normal, at the moment of putting the password the keyboard didn’t work, so I turned it off and tried again to turn it on and now I get a screen that I’ve never seen (I attach the photos). how can i fix it? Update (03/16/2019)

Update (03/20/2019) I think the problem is from the battery, today I turned on my mac and the battery was at 34%, after two minutes it turned off, I tried to turn it back on and it told me to charge the mac (the usual screen that apper when th mac is low battery). What do you recommend? Before this happened the battery was in excellent condition, it lasted me all day (my mac have 6 year, but till now I have used it in a very careful way with a correct battery cycle). Is it possible that not using it for 2 weeks the battery is crazy?

Has anything such as liquid damage happened to your Mac in the past ? It doesn’t happen very often that trackpads go bad on their own. Whatever is the reason behind, I’d try first an SMC reset (shift+command+option+power button pressed together with Mac turned off and magsafe charging). If that doesn’t work, first thing to attempt to replace would be the trackpad.

First try replacing the uppercase ribbon cable MacBook Air 11" (Mid 2011-Mid 2012) Trackpad Cable. The Air’s use a combo cable design so both the keyboard & trackpad signals passthrough this one cable to the logic board. Next try replacing the trackpad. Often times the battery swells up pressing on the cable which is just below it. I would check the battery using CoconutBattery post a snapshot of the main window here for us to see Adding images to an existing question

That is a trackpad/mouse, most likely the trackpad connector.