Posted 11 July 2014 - 11:06 PM
When using CC you often use os.pullEvent(), and while there is nothing wrong with a event based system, disk drives does not "support" this properly.
I would like to see two events added regarding disk drives.
The first is a event for when a item is inserted into the drive. The event would return something like this:
"driveInsert", side, itemType
The itemType is simple, it is either "floppy", "pocketComputer", "musicDisk" or "unknown"/nil.
The second event is when the item is removed.
"driveEject", side
While this is completely doable in CC itself, it would be nice to add to "vanilla" CC and in my opinion would be a nice additon.
I would like to see two events added regarding disk drives.
The first is a event for when a item is inserted into the drive. The event would return something like this:
"driveInsert", side, itemType
The itemType is simple, it is either "floppy", "pocketComputer", "musicDisk" or "unknown"/nil.
The second event is when the item is removed.
"driveEject", side
While this is completely doable in CC itself, it would be nice to add to "vanilla" CC and in my opinion would be a nice additon.