Skip to main content
CBurk.2
Associate
November 12, 2021
Solved

How to change keyboard size

  • November 12, 2021
  • 1 reply
  • 1273 views

0693W00000GXRdtQAH.pngThis is using the basic keyboard example project, and I am trying to make the keyboard larger. So I have gone in and changed all of the values in keyArray in KeyboardLayout.hpp, as well as change the keyboard.setPosition call to have the the appropriate arguments in MainView.cpp. However the size seems to be hardcoded somewhere to the original 320x240, and I just can't find where that is to change it. 0693W00000GXRdeQAH.pngI added an image with the original background just to show how the size is being limited by the dimensions of the original.

This topic has been closed for replies.
Best answer by CBurk.2

Just figured it out, you need to also change the keyboard.setPosition parameters in the CustomKeyboard.cpp file

1 reply

CBurk.2
CBurk.2AuthorBest answer
Associate
November 12, 2021

Just figured it out, you need to also change the keyboard.setPosition parameters in the CustomKeyboard.cpp file