A new material TH-Ge0.5Si0.5C2-zz has been discovered, which has a direct bandgap and has a broad application prospect in photoelectric devices. The effect of H/F atom adsorption on the structural parameters and electrical properties of TH-Ge0.5Si0.5C2-zz was studied in this paper. In a nutshell,bandgap of TH-Ge0.5Si0.5C2-zz can be notable increased by H atom adsorption, and the work function and electron affinity energy are decreased. While the bandgap of TH-Ge0.5Si0.5C2-zz cannot be opened by the full adsorption of the F atom.