Skip to content

Add a mechanism for getting/setting the clipboard text #732

@Perksey

Description

@Perksey

Summary of feature

Currently, there is no clean way to get/set the clipboard text from the input API - you end up having to use GLFW and SDL directly which isn't ideal or user friendly.

This issue is to add a gettable and settable property onto IKeyboard (probably called ClipboardText).

Comments

The work is:

  • Add a get/set property onto IKeyboard (probably called ClipboardText)
  • Implement this in GlfwKeyboard using the appropriate GLFW functions exposed in the Glfw class
  • Implement this in SdlKeyboard using the appropriate SDL functions exposed in the Sdl class.

If your IDE is running slow, you can make a stripped down solution containing only input projects using nuke sln --projects input

Please see CONTRIBUTING.md for more info on contributing.

Area owner is @ThomasMiz

Does this have a proposal?

This is exempt from a proposal as described in the proposals readme.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions