Catalyzes the ADP-dependent phosphorylation of D-glucose to D-glucose 6-phosphate and glucosamine to glucosamine 6-phosphate. Involved in chitin degradation. ADP + D-glucose = AMP + D-glucose 6-phosphate + H(+) ADP + D-glucosamine = AMP + D-glucosamine 6-phosphate + H(+) Binds 1 Mg(2+) ion per subunit. kcat is 248 sec(-1) with glucose as substrate. kcat is 120 sec(-1) with glucosamine as substrate. kcat is 210 sec(-1) with ADP as substrate. Glycan degradation; chitin degradation. Carbohydrate degradation; glycolysis. Disruption of the gene severely affects growth in chitin-containig media and leads to an almost complete loss of chitin-dependent hydrogen production. Belongs to the ADP-dependent glucokinase family.