We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d2a11 commit a623a4fCopy full SHA for a623a4f
Modelica_DeviceDrivers/Resources/Include/MDDJoystick.h
@@ -134,7 +134,7 @@ typedef struct {
134
char deviceName[80];
135
} MDDJoystick;
136
137
-DllExport void* MDD_joystickConstructor(int iJSID) {
+void* MDD_joystickConstructor(int iJSID) {
138
MDDJoystick* js = (MDDJoystick*) calloc(sizeof(MDDJoystick), 1);
139
if (js) {
140
js->fd = open("/dev/input/js0", O_RDONLY);
@@ -163,7 +163,7 @@ DllExport void* MDD_joystickConstructor(int iJSID) {
163
return (void*) js;
164
}
165
166
-DllExport void MDD_joystickDestructor(void* jsObj) {
+void MDD_joystickDestructor(void* jsObj) {
167
MDDJoystick* js = (MDDJoystick*) jsObj;
168
169
free(js->axis);
0 commit comments