It appear that device_mouse_raw_x has not been implemented? Unless it is in a newer branch?
This function returns raw x position of the device. What this means is that it returns the actual device definition of the x position that is being touched, not the GameMaker: Studio one, and as such will ignore things like view position and scaling.
That description seems to match
display_mouse_get_x()perfectly. The actual difference appears to be the extra int parameter, for multitouch support, I presume. Multitouch isn't terribly relevant to PC ENIGMA, so I'd suggest just using the
displayequivalent. If it still takes window coordinates into account, there's also