export const hidCategory = {
  kind: 'category',
  name: 'HID (Keyboard / Mouse / Gamepad)',
  colour: '330',
  contents: [
    // Keyboard
    { kind: 'block', type: 'hid_key_press' },
    { kind: 'block', type: 'hid_key_down' },
    { kind: 'block', type: 'hid_key_up' },
    {
      kind: 'block',
      type: 'hid_keyboard_type',
      inputs: {
        TEXT: { shadow: { type: 'text', fields: { TEXT: 'hello' } } },
      },
    },
    // Mouse
    {
      kind: 'block',
      type: 'hid_mouse_move',
      inputs: {
        X: { shadow: { type: 'math_number', fields: { NUM: 10 } } },
        Y: { shadow: { type: 'math_number', fields: { NUM: 0 } } },
      },
    },
    {
      kind: 'block',
      type: 'hid_mouse_click',
    },
    {
      kind: 'block',
      type: 'hid_mouse_scroll',
      inputs: {
        DELTA: { shadow: { type: 'math_number', fields: { NUM: 1 } } },
      },
    },
    // Gamepad
    { kind: 'block', type: 'hid_gamepad_button' },
    {
      kind: 'block',
      type: 'hid_gamepad_axis',
      inputs: {
        VALUE: { shadow: { type: 'math_number', fields: { NUM: 0 } } },
      },
    },
  ],
};
