You might want to check out the new Fordson theme as it has an easy enrollment add-on that already provides a couple of ways for student enrollment into courses. One of them is using QR codes. It might be adaptable to be used for login too. Worth checking it out and talking to the developer.
Hardware and performance
bar code login
This discussion has been locked so you can no longer reply to it.