<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>GUI GuiderのトピックHow to create keypads and groups</title>
    <link>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1920964#M1088</link>
    <description>&lt;P&gt;I want to use keypad , But I don't know how to create a group, where to create it, I want to put the initialisation of the group in the loading process of each page, but I tried it and it doesn't work in simulation.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 01:20:03 GMT</pubDate>
    <dc:creator>acd</dc:creator>
    <dc:date>2024-07-31T01:20:03Z</dc:date>
    <item>
      <title>How to create keypads and groups</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1920964#M1088</link>
      <description>&lt;P&gt;I want to use keypad , But I don't know how to create a group, where to create it, I want to put the initialisation of the group in the loading process of each page, but I tried it and it doesn't work in simulation.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 01:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1920964#M1088</guid>
      <dc:creator>acd</dc:creator>
      <dc:date>2024-07-31T01:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create keypads and groups</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1921337#M1090</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/237945"&gt;@acd&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In general, our keyboard is used with the textarea widget. You can put a textarea on the screen and select the keyboard option in the settings directory on the right, so when you use a textarea, it will automatically generate an event, that is, when you click on the target textarea, the keyboard will automatically pop up.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="屏幕截图 2024-07-31 151345.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291119i6643C104E5FAF222/image-size/medium?v=v2&amp;amp;px=400" role="button" title="屏幕截图 2024-07-31 151345.png" alt="屏幕截图 2024-07-31 151345.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Specific keyboard usage can be found in keyboard.c in the lvgl\src\extra\widgets\keyboard folder of your project.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Liu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 07:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1921337#M1090</guid>
      <dc:creator>Alphabert_Liu</dc:creator>
      <dc:date>2024-07-31T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create keypads and groups</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1921387#M1093</link>
      <description>&lt;P&gt;Thank you for your reply, but this answer is not what I need, my project uses multiple mechanical buttons, no touch screen, so when adding mechanical buttons to lvgl, I need to use the concept of keypad, this is different from the keyboard, keypad needs to be combined with the group, and then respond to the event, but I found that about these When adding custom code, it will result in the simulation doesn't work.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 08:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1921387#M1093</guid>
      <dc:creator>acd</dc:creator>
      <dc:date>2024-07-31T08:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create keypads and groups</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1921470#M1094</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/237945"&gt;@acd&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Can I take it that you want to use mechanical keys to interact with the various widgets of the Lvgl library?&lt;/P&gt;
&lt;P&gt;As far as I know, there is no way to change the generated files in simulation, which may require you to select a specific device model and import the entire project file into the MCUXpresso IDE to add groups.&lt;/P&gt;
&lt;P&gt;Since Lvgl does not directly support mechanical keys as Input devices, you will need to create a custom Input Device. This device will be responsible for detecting the keystroke status and sending keystroke events to the Lvgl's input system.&lt;/P&gt;
&lt;P&gt;In the setup_scr_screen.c file under the generated folder, you can create groups and place all the widgets(keypads) in them.&lt;/P&gt;
&lt;P&gt;Hope my reply can help you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Liu&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 09:03:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1921470#M1094</guid>
      <dc:creator>Alphabert_Liu</dc:creator>
      <dc:date>2024-07-31T09:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create keypads and groups</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1934229#M1142</link>
      <description>Hello, I encountered the same problem. The page I exported using the "gui guide" code will turn white after adding group, and the page cannot be loaded. It is added in "setup_scr_screen";&lt;BR /&gt;lv_group_t *group = lv_group_create();&lt;BR /&gt;lv_group_add_obj(group, ui-&amp;gt;BootPage_btn_1);&lt;BR /&gt;lv_group_add_obj(group, ui-&amp;gt;BootPage_btn_2);&lt;BR /&gt;lv_indev_set_group(keypadIndevice, group);</description>
      <pubDate>Sun, 18 Aug 2024 07:52:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1934229#M1142</guid>
      <dc:creator>qqt_996</dc:creator>
      <dc:date>2024-08-18T07:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create keypads and groups</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1994078#M1262</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239092"&gt;@qqt_996&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;What about trying to swap the code&amp;nbsp;&lt;SPAN&gt;sequences&lt;/SPAN&gt; like this:&lt;/P&gt;&lt;P&gt;/* ---------------------- Code Begins ---------------------- */&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lv_group_t *group = lv_group_create();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;lv_indev_set_group(keypadIndevice, group);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lv_group_add_obj(group, ui-&amp;gt;BootPage_btn_1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lv_group_add_obj(group, ui-&amp;gt;BootPage_btn_2);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* ----------------------- Code Ends ----------------------- */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It works in my code.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Chester&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 01:06:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-create-keypads-and-groups/m-p/1994078#M1262</guid>
      <dc:creator>ChesterLee</dc:creator>
      <dc:date>2024-11-14T01:06:38Z</dc:date>
    </item>
  </channel>
</rss>

