This PR adds a new console command, "KEvent", which allows the sending of arbitrary events to the [state machine](https://ktag.clubk.club/Technology/SystemK/#state-machine). The events are specified by [ID](https://git.ktag.clubk.club/Software/SystemK/src/tag/SystemK_v01.01/Events/KEvents.h#L33-L86), which may change from release-to-release of SystemK. ``` KTag> KEvent Usage: KEvent <Event ID> <Event Data> (Note that IDs may be SystemK version-dependent.) ``` Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #17
23 lines
981 B
C
23 lines
981 B
C
/*
|
|
* This program source code file is part of the KTag project, a DIY laser tag
|
|
* game with customizable features and wide interoperability.
|
|
*
|
|
* 🛡 <https://ktag.clubk.club> 🃞
|
|
*
|
|
* Copyright © 2026 Joseph P. Kearney and the KTag developers.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify it under
|
|
* the terms of the GNU Affero General Public License as published by the Free
|
|
* Software Foundation, either version 3 of the License, or (at your option) any
|
|
* later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
* details.
|
|
*
|
|
* There should be a copy of the GNU Affero General Public License in the LICENSE
|
|
* file in the root of this repository. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
void Register_KEvent_Command(void);
|