I have recently started game programming and although the graphic part works fine, the event handling is a mess.
All the information on mouse events handling that I can find uses the int86 function and the REGS union. From what I understood these are old and deprecated, and not longer available. They should be in the dos.h header file but no modern compiler has a dos.h with these. If I try to get an old dos.h, it only has the prototype of the int86 function, not the actual code.
Does anybody know anyway around? Can anybody point me in the right direction for a tutorial/etc?