Bent
Bent as in crooked or dishonest, dates from the early 20th century; the obvious allusion to being the opposite of straight. Bent meaning homosexual, using the same logic i.e. not straight, dates from the 1940s.