I'm guessing that they are 1, 2 and 3 for XT AT(PS/2) and Terminal respectively.
The three are the same protocol at the lower levels, with the key codes and some behavioural details being different. The key code sets are internally numbered 1, 2 and 3.
There was a time when Microsoft wanted to transcend to using set 3 (Terminal) for Windows NT, but it didn't take off. I think the reason could have been that some popular non-IBM keyboards did not behave properly in set 3.