zhanfeng

c4Forums Member
  • Content count

    2
  • Joined

  • Last visited

  1. with the code below. All I can manage to achieved is something like this <events> <event> <id>1</id> <name>Button 1 Press</name> <description>When NAME button 1 is pressed</description> </event> <event> <id>2</id> <name>Button 1 Hold</name> <description>When NAME button 1 is holded</description> </event> <event> <id>3</id> <name>Button 1 Release</name> <description>When NAME button 1 is released</description> </event> <event> <id>4</id> <name>Button 2 Press</name> <description>When NAME button 2 is pressed</description> </event> <event> <id>5</id> <name>Button 2 Hold</name> <description>When NAME button 2 is holded</description> </event> <event> <id>6</id> <name>Button 2 Release</name> <description>When NAME button 2 is released</description> </event> <event> <id>7</id> <name>Button 3 Press</name> <description>When NAME button 3 is pressed</description> </event> <event> <id>8</id> <name>Button 3 Hold</name> <description>When NAME button 3 is holded</description> </event> <event> <id>9</id> <name>Button 3 Release</name> <description>When NAME button 3 is released</description> </event> <event> <id>10</id> <name>Button 4 Press</name> <description>When NAME button 4 is pressed</description> </event> <event> <id>11</id> <name>Button 4 Hold</name> <description>When NAME button 4 is holded</description> </event> <event> <id>12</id> <name>Button 4 Release</name> <description>When NAME button 4 is released</description> </event> <event> <id>13</id> <name>Button 5 Press</name> <description>When NAME button 5 is pressed</description> </event> <event> <id>14</id> <name>Button 5 Hold</name> <description>When NAME button 5 is holded</description> </event> <event> <id>15</id> <name>Button 5 Release</name> <description>When NAME button 5 is released</description> </event> <event> <id>16</id> <name>Button 6 Press</name> <description>When NAME button 6 is pressed</description> </event> <event> <id>17</id> <name>Button 6 Hold</name> <description>When NAME button 6 is holded</description> </event> <event> <id>18</id> <name>Button 6 Release</name> <description>When NAME button 6 is released</description> </event> </events>
  2. I am currently writing a driver for my keypad. How can I implement my Device Events like this: