/*
 * Close a Joystick::Device object.
 *
 * Note: You cannot read or write to a closed joystick device.
 *
 * Example:
 *   joy.close
 *
 */
static VALUE j_dev_close(VALUE self) {